RequestValidator

A set of validation rules for incoming Method requests.

APIs.ioEngineeringPlatform

Properties

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

JSON Schema

apis-io-engineering-platform-requestvalidator-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RequestValidator",
  "title": "RequestValidator",
  "type": "object",
  "properties": {
    "id": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The identifier of this RequestValidator."
        }
      ]
    },
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The name of this RequestValidator"
        }
      ]
    },
    "validateRequestBody": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Boolean"
        },
        {
          "description": "A Boolean flag to indicate whether to validate a request body according to the configured Model schema."
        }
      ]
    },
    "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": "A set of validation rules for incoming Method requests."
}