mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-28 11:51:53 +01:00
added support for a few middlewares, added match_domain option, changed index reference prefix from $ to #, etc.
This commit is contained in:
@@ -37,7 +37,13 @@
|
||||
"title": "DNS Challenge Provider",
|
||||
"default": "local",
|
||||
"type": "string",
|
||||
"enum": ["local", "cloudflare", "clouddns", "duckdns", "ovh"]
|
||||
"enum": [
|
||||
"local",
|
||||
"cloudflare",
|
||||
"clouddns",
|
||||
"duckdns",
|
||||
"ovh"
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"title": "Provider specific options",
|
||||
@@ -56,7 +62,12 @@
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"required": ["email", "domains", "provider", "options"]
|
||||
"required": [
|
||||
"email",
|
||||
"domains",
|
||||
"provider",
|
||||
"options"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -70,7 +81,9 @@
|
||||
"then": {
|
||||
"properties": {
|
||||
"options": {
|
||||
"required": ["auth_token"],
|
||||
"required": [
|
||||
"auth_token"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"auth_token": {
|
||||
@@ -93,7 +106,11 @@
|
||||
"then": {
|
||||
"properties": {
|
||||
"options": {
|
||||
"required": ["client_id", "email", "password"],
|
||||
"required": [
|
||||
"client_id",
|
||||
"email",
|
||||
"password"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"client_id": {
|
||||
@@ -124,7 +141,9 @@
|
||||
"then": {
|
||||
"properties": {
|
||||
"options": {
|
||||
"required": ["token"],
|
||||
"required": [
|
||||
"token"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"token": {
|
||||
@@ -147,14 +166,21 @@
|
||||
"then": {
|
||||
"properties": {
|
||||
"options": {
|
||||
"required": ["application_secret", "consumer_key"],
|
||||
"required": [
|
||||
"application_secret",
|
||||
"consumer_key"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"oneOf": [
|
||||
{
|
||||
"required": ["application_key"]
|
||||
"required": [
|
||||
"application_key"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": ["oauth2_config"]
|
||||
"required": [
|
||||
"oauth2_config"
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
@@ -205,7 +231,10 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["client_id", "client_secret"]
|
||||
"required": [
|
||||
"client_id",
|
||||
"client_secret"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -268,6 +297,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"match_domains": {
|
||||
"title": "Domains to match",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"timeout_shutdown": {
|
||||
"title": "Shutdown timeout (in seconds)",
|
||||
"type": "integer",
|
||||
@@ -279,5 +316,7 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["providers"]
|
||||
}
|
||||
"required": [
|
||||
"providers"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user