Skip to content

Commit

Permalink
Make schema compatible with JsonSchema draft 4 (#2770)
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaZupan authored Feb 27, 2025
1 parent a916691 commit 94a2675
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions src/ReverseProxy/ConfigurationSchema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "YARP Configuration Schema",
"type": "object",
"properties": {
"ReverseProxy": {
Expand Down Expand Up @@ -197,31 +195,31 @@
"type": [ "object", "null" ],
"$comment": "Fallback that matches any custom user-defined transforms.",
"properties": {
"RequestHeadersCopy": false,
"RequestHeaderOriginalHost": false,
"RequestHeader": false,
"PathRemovePrefix": false,
"PathSet": false,
"PathPrefix": false,
"QueryRouteParameter": false,
"PathPattern": false,
"QueryValueParameter": false,
"QueryRemoveParameter": false,
"HttpMethodChange": false,
"RequestHeaderRouteValue": false,
"RequestHeaderRemove": false,
"RequestHeadersAllowed": false,
"X-Forwarded": false,
"Forwarded": false,
"ClientCert": false,
"ResponseHeadersCopy": false,
"ResponseHeader": false,
"ResponseHeaderRemove": false,
"ResponseHeadersAllowed": false,
"ResponseTrailersCopy": false,
"ResponseTrailer": false,
"ResponseTrailerRemove": false,
"ResponseTrailersAllowed": false
"RequestHeadersCopy": { "not": {} },
"RequestHeaderOriginalHost": { "not": {} },
"RequestHeader": { "not": {} },
"PathRemovePrefix": { "not": {} },
"PathSet": { "not": {} },
"PathPrefix": { "not": {} },
"QueryRouteParameter": { "not": {} },
"PathPattern": { "not": {} },
"QueryValueParameter": { "not": {} },
"QueryRemoveParameter": { "not": {} },
"HttpMethodChange": { "not": {} },
"RequestHeaderRouteValue": { "not": {} },
"RequestHeaderRemove": { "not": {} },
"RequestHeadersAllowed": { "not": {} },
"X-Forwarded": { "not": {} },
"Forwarded": { "not": {} },
"ClientCert": { "not": {} },
"ResponseHeadersCopy": { "not": {} },
"ResponseHeader": { "not": {} },
"ResponseHeaderRemove": { "not": {} },
"ResponseHeadersAllowed": { "not": {} },
"ResponseTrailersCopy": { "not": {} },
"ResponseTrailer": { "not": {} },
"ResponseTrailerRemove": { "not": {} },
"ResponseTrailersAllowed": { "not": {} }
}
},
{
Expand Down

0 comments on commit 94a2675

Please # to comment.