-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
As far as I understand, the type for additionalProperties supports array (see https://www.learnjsonschema.com/2020-12/applicator/additionalproperties/ https://www.learnjsonschema.com/2020-12/validation/type/). The code in schema_generator currently returns an error if multiple types are set:
| return nil, errTooManyTypesForAdditionalProperties |
I would like to propose if multiple types are set, the code should set any as the type and continue on. Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels