You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Currently ballerina does not have an approach to validate requests and responses using JSON schema.
Example: Schema validation use cases
The schema is created from the url and its stored contents are validated against itself.
An URL can point to a local file, where sub folder, current working directory.
Schema created with a Map and call to json parse etc.
Validating request/response based on a predefined json or xml API schema is helpful to ensure whether the user have sent the request according to the schema and also to ensure whether the back-end have sent the correct response to the request.
The text was updated successfully, but these errors were encountered:
Issue by KasunAratthanage
Tuesday Jun 11, 2019 at 05:56 GMT
Originally opened as ballerina-platform/ballerina-lang#15654
Description:
Currently ballerina does not have an approach to validate requests and responses using JSON schema.
Example: Schema validation use cases
Validating request/response based on a predefined json or xml API schema is helpful to ensure whether the user have sent the request according to the schema and also to ensure whether the back-end have sent the correct response to the request.
The text was updated successfully, but these errors were encountered: