Properties
| Name | Type | Description |
|---|---|---|
| allowCredentials | boolean | |
| allowedHeaders | array | |
| allowedMethods | array | |
| allowedOrigins | array | |
| debug | boolean | |
| enabled | boolean | |
| exposedHeaders | array | |
| maxAge | integer | |
| optionsPassthrough | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "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"
}
}
}