;;;;let service = ;let resources =widgets:schema: Schemaobject;// this package depends on SereneResources, which must be registered firstserene;serene;serene;
The middleware only validates requests with a body, that is:
It wraps the
schema found in the resource definition with a
attributes field, so that it
conforms to the SuperAPI spec, and automatically unwraps
the request payload from the
See tests for more details.