jitar
jitar copied to clipboard
Data type validation on RPC calls
Jitar needs to have an option to validate incoming data through its apis. As with the rest of the product, we want to have a configuration only option to define the validation schemas.
What needs to be done for this story;
- update the segment file configuration with a validation model
- add the configuration to generated cache files
- validate the incoming data on the server with the provided configuration
- translate validation errors to http 400