v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14120262383.5 KB

Creates a RequestValidator of a given RestApi.

post/restapis/{restapi_id}/requestvalidators

Path parameters

restapi_idstring required

The string identifier of the associated RestApi.

Request body

namestring

The name of the to-be-created RequestValidator.

validateRequestBodyboolean

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (<code>true</code>) or not (<code>false</code>).

validateRequestParametersboolean

A Boolean flag to indicate whether to validate request parameters, <code>true</code>, or not <code>false</code>.

Response

Success

idstring

The identifier of this RequestValidator.

namestring

The name of this RequestValidator

validateRequestBodyboolean

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

validateRequestParametersboolean

A Boolean flag to indicate whether to validate request parameters (<code>true</code>) or not (<code>false</code>).