You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using converter.schema2jsonschema(schema) in a project and want to set "additionalProperties" for the generated schema and/or nested schemas in it. Is this possible? I only found documentation on setting it in metadata for a field.
The text was updated successfully, but these errors were encountered:
This was suggested in #208 but we never ended up supporting schema-level metadata (only field metadata is currently supported). I'm still open to adding it, though I'd like to know more about people's use cases before adding it to the codebase.
Well, in my use case I have a postgres json field in the back end which should contain different objects depending on another field. This is defined and validated against jsonschemas generated via converter.schema2jsonschema(schema) and provided to the front end via a django rest framework api.
I'm using converter.schema2jsonschema(schema) in a project and want to set "additionalProperties" for the generated schema and/or nested schemas in it. Is this possible? I only found documentation on setting it in metadata for a field.
The text was updated successfully, but these errors were encountered: