Schema (application/json) in the Request tab allows users to add either an object or a field. The schema controls are enabled for the HTTP, PUT, POST, and PATCH verbs only.
To add a schema object:
- In the Request tab under Schema
(application/json), click Add and select
Object from the drop-down list.
The Schema Object dialog box is displayed.
- Enter the schema object name and select either the Array or Nullable checkbox, if applicable.
- Click OK.
To add a schema field:
- In the Request tab under Schema
(application/json), click Add and select
Field from the drop-down list.
The Schema Field dialog box is displayed.
- Enter the field name and select a data type from the Data Type drop-down list.
- In the Mapping section, map the data type to any of the
following options:
- None
- Keyword
- Property
- Constant Value
- Click OK.