jitar icon indicating copy to clipboard operation
jitar copied to clipboard

Data type validation on RPC calls

Open basmasking opened this issue 1 year ago • 2 comments

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

basmasking avatar Nov 14 '22 15:11 basmasking