How do we validate the Rest API Requests and Responses? For XML based request and response we have something called XSD which is used to validate the request & response. But what about the requests & responses in JSON Format ?
For that too we have something called JSON Schema. Follow the
below link to learn more about it.
below link to learn more about it.
This tells us how do we validate the request and response.
Want to know more about json-schema?
Just follow:
http://json-schema.org/documentation.html
http://json-schema.org/documentation.html