plone.restapi icon indicating copy to clipboard operation
plone.restapi copied to clipboard

Not possible to override DefaultJsonSchemaProvider

Open ericof opened this issue 3 years ago • 0 comments

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)

ericof avatar Jul 14 '21 15:07 ericof