You can write inline schemas to validate the response body.
1link - name: update user
2link request:
3link path: /user
4link method: put
5link response:
6link json_schema:
7link type: inline
8link $ref: >
9link {
10link "type": "object",
11link "properties": {
12link "dob": {
13link "type": "string",
14link "format": "date-time"
15link }
16link },
17link "required": "dob"
18link }
See also: