Tyk · JSON Structure

Tyk Gateway Cors Config Structure

Type: object Properties: 9
API GatewayAPI ManagementGraphQLOpen Source

CORSConfig 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

allow_credentials allowed_headers allowed_methods allowed_origins debug enable exposed_headers max_age options_passthrough

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CORSConfig",
  "type": "object",
  "properties": {
    "allow_credentials": {
      "type": "boolean"
    },
    "allowed_headers": {
      "type": "array"
    },
    "allowed_methods": {
      "type": "array"
    },
    "allowed_origins": {
      "type": "array"
    },
    "debug": {
      "type": "boolean"
    },
    "enable": {
      "type": "boolean"
    },
    "exposed_headers": {
      "type": "array"
    },
    "max_age": {
      "type": "integer"
    },
    "options_passthrough": {
      "type": "boolean"
    }
  }
}