plone.restapi
plone.restapi copied to clipboard
Not possible to override DefaultJsonSchemaProvider
One use case I have requires overriding the JsonSchema for all fields, returning an additional property.
Currently, the only possible way to do it is patching the get_schema method in DefaultJsonSchemaProvider (so it is also used by all adapters inheriting from it)