Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@
"project-1.0.0-rc2.json",
"project.json",
"prometheus.json",
"proxies.json",
"pull-request-labeler.json",
"pull-request-labeler-5.json",
"putout.json",
Expand Down
10 changes: 5 additions & 5 deletions src/schemas/json/proxies.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/proxies.json",
"additionalProperties": false,
"definitions": {
"proxy-schema": {
Expand Down Expand Up @@ -87,11 +88,11 @@
}
},
"patternProperties": {
"^backend\\.request\\.querystring\\..+$": {
"^backend\\.request\\.querystring\\.(?!<ParameterName>).+$": {
"$ref": "#/definitions/request-overrides-value-expression-schema",
"description": "A query string parameter which can be set for the call to the backend. Values can reference application settings and parameters from the original client request. If the empty string is provided, the parameter will not be included on the backend request"
},
"^backend\\.request\\.headers\\..+$": {
"^backend\\.request\\.headers\\.(?!<HeaderName>).+$": {
"$ref": "#/definitions/request-overrides-value-expression-schema",
"description": "A header which can be set for the call to the backend. Values can reference application settings, parameters from the original client request, and parameters from the backend response. If the empty string is provided, the header will not be included on the backend request."
}
Expand Down Expand Up @@ -133,7 +134,7 @@
}
},
"patternProperties": {
"^response\\.headers\\..+$": {
"^response\\.headers\\.(?!<HeaderName>).+$": {
"$ref": "#/definitions/response-overrides-value-expression-schema",
"description": "A header which can be set for the response to the client. Values can reference application settings, parameters from the original client request, and parameters from the backend response. If the empty string is provided, the header will not be included on the response."
}
Expand Down Expand Up @@ -224,7 +225,6 @@
]
}
},
"id": "https://json.schemastore.org/proxies.json",
"properties": {
"$schema": {
"type": "string"
Expand Down
Loading