Skip to content

Commit

Permalink
[#207] Adjust JSON schema
Browse files Browse the repository at this point in the history
chore: Fix invalid JSON schema validator
  • Loading branch information
nickdnk authored Oct 25, 2024
2 parents f531a02 + ef001cc commit 4730f59
Showing 1 changed file with 6 additions and 39 deletions.
45 changes: 6 additions & 39 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,47 +276,14 @@
"description": "Settings required to set up manual or automatic HTTPS for your server. Either `key` and `cert` *or* `acme` is required, but not both.",
"type": "object",
"additionalProperties": false,
"not": {
"anyOf": [
{
"required": [
"key",
"acme"
]
},
{
"required": [
"cert",
"acme"
]
},
{
"required": [
"root_ca",
"acme"
]
},
{
"required": [
"client_auth_type",
"acme"
]
}
"dependentRequired": {
"key": [
"cert"
],
"cert": [
"key"
]
},
"anyOf": [
{
"required": [
"acme"
]
},
{
"required": [
"key",
"cert"
]
}
],
"properties": {
"address": {
"description": "Host address/or port to bind to. Defaults to 127.0.0.1:443.",
Expand Down

0 comments on commit 4730f59

Please sign in to comment.