Properties
| Name | Type | Description |
|---|---|---|
| allow_credentials | boolean | |
| allowed_headers | array | |
| allowed_methods | array | |
| allowed_origins | array | |
| debug | boolean | |
| enable | boolean | |
| exposed_headers | array | |
| max_age | integer | |
| options_passthrough | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "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"
}
}
}