The REST JAX-RS API payload schema framework contains a validation framework that handles validation as well as updating target dynamic beans. The payload schema also provides serialization and filtering formats for the generation of Swagger documentation.
You define the input, as well as the validators that check the input. Validators can also apply data to a target dynamic bean or record changes that can be applied later. The payload schema framework can introspect beans or repository items to create default validators for simple properties.
Use the Dynamo Server Admin to view available schemas, validator and validator properties.
The payload schema framework can perform the following:
Validating input, which may be a hierarchy of any kind of dynamic bean, collection or map
Transforming input, so that input types can be coerced into primitive types, Maps, Beans or repository items
Updating the properties of beans or repository items using the validated and transformed values
Dynamically adding repository properties and repository subtypes