...
Code Block | ||
---|---|---|
| ||
body: { "firstName": "Sam", "lastName": "Meyer", "age": "48", "gender": "male" } pipeline: - json.validate: schema: $uri:global/app/myapp/object/person/v1/schema |
This will return an a validation error like this:
...
...
Code Block | ||
---|---|---|
| ||
body: { "firstName": "Sam", "lastName": "Meyer", "age": "48", "gender": "male" } pipeline: - json.validate: schema: $uri:global/app/myapp/object/person/v1/schema |
This will return an a validation error like this:
...