Tyk · JSON Structure

Tyk Gateway Cors Structure

Type: object Properties: 9
API GatewayAPI ManagementGraphQLOpen Source

CORS is a JSON Structure definition published by Tyk, describing 9 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

allowCredentials allowedHeaders allowedMethods allowedOrigins debug enabled exposedHeaders maxAge optionsPassthrough

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CORS",
  "type": "object",
  "properties": {
    "allowCredentials": {
      "type": "boolean"
    },
    "allowedHeaders": {
      "type": "array"
    },
    "allowedMethods": {
      "type": "array"
    },
    "allowedOrigins": {
      "type": "array"
    },
    "debug": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "exposedHeaders": {
      "type": "array"
    },
    "maxAge": {
      "type": "integer"
    },
    "optionsPassthrough": {
      "type": "boolean"
    }
  }
}