mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-02 12:02:29 +00:00
Add oidc-config to OpenAPI schema
This commit is contained in:
parent
7196dfa1ad
commit
0b126ca546
@ -14,7 +14,7 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"enum": ["default-site"]
|
"enum": ["default-site", "oidc-config"]
|
||||||
},
|
},
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "Setting ID",
|
"description": "Setting ID",
|
||||||
@ -27,28 +27,69 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"oneOf": [
|
||||||
"additionalProperties": false,
|
{
|
||||||
"minProperties": 1,
|
|
||||||
"properties": {
|
|
||||||
"value": {
|
|
||||||
"type": "string",
|
|
||||||
"minLength": 1,
|
|
||||||
"enum": ["congratulations", "404", "444", "redirect", "html"]
|
|
||||||
},
|
|
||||||
"meta": {
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
"minProperties": 1,
|
||||||
"properties": {
|
"properties": {
|
||||||
"redirect": {
|
"value": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"enum": [
|
||||||
|
"congratulations",
|
||||||
|
"404",
|
||||||
|
"444",
|
||||||
|
"redirect",
|
||||||
|
"html"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"html": {
|
"meta": {
|
||||||
"type": "string"
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"redirect": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"html": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"minProperties": 1,
|
||||||
|
"properties": {
|
||||||
|
"meta": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"clientID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"clientSecret": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"enabled": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"issuerURL": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"redirectURL": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user