CreateRequestValidatorRequest

Creates a RequestValidator of a given RestApi.

APIs.ioEngineeringPlatform

Properties

Name Type Description
name object
validateRequestBody object
validateRequestParameters object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-createrequestvalidatorrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateRequestValidatorRequest",
  "title": "CreateRequestValidatorRequest",
  "type": "object",
  "properties": {
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The name of the to-be-created RequestValidator."
        }
      ]
    },
    "validateRequestBody": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Boolean"
        },
        {
          "description": "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>)."
        }
      ]
    },
    "validateRequestParameters": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Boolean"
        },
        {
          "description": "A Boolean flag to indicate whether to validate request parameters, <code>true</code>, or not <code>false</code>."
        }
      ]
    }
  },
  "description": "Creates a RequestValidator of a given RestApi."
}