Star

Created With

linkJSON Schema Inline Validation

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:



JSON Schema Inline Validation

Home

Getting Startedchevron_right
Basicschevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right

Status Code Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right