Ambassador · JSON Structure

Ambassador Cors Policy Structure

Type: object Properties: 6
API DevelopmentGatewaysIngressKubernetesMock ServersMocksPlatformTesting

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

Properties

origins methods headers credentials exposed_headers max_age

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CORSPolicy",
  "type": "object",
  "properties": {
    "origins": {
      "type": "array"
    },
    "methods": {
      "type": "array"
    },
    "headers": {
      "type": "array"
    },
    "credentials": {
      "type": "boolean"
    },
    "exposed_headers": {
      "type": "array"
    },
    "max_age": {
      "type": "string"
    }
  }
}