Skip to content

Commit 99491fe

Browse files
committed
Upgrade KrakenD schemas
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent 3ec5017 commit 99491fe

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

DEPENDENCIES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ manfred-mac-0-5 https://github.com/getmanfred/mac v0.5
2626
manfred-mac-0-4 https://github.com/getmanfred/mac v0.4
2727
manfred-mac-0-3 https://github.com/getmanfred/mac v0.3
2828
movielabs-omc-2-6 https://github.com/MovieLabs/OMC v2.6-release-1
29-
krakend https://github.com/krakend/krakend-schema 197ad7860e108e7e15988f485824ca384a5fa397
29+
krakend https://github.com/krakend/krakend-schema a5d6b0459401284367333e07edb16bc1eb56f6e0
3030
octue-power-curve https://github.com/octue/power-curve-schema 1.0.0.alpha-1
3131
usnistgov-mgi-2022-08 https://github.com/usnistgov/mgi-json-schema e5e6aaf3f5eae0d15b88ecbd57f44cc28b035f11
3232
cloudevents-1-0-0 https://github.com/cloudevents/spec v1.0

vendor/krakend/v2.10/backend_extra_config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
"plugin/http-client": {
100100
"$ref": "plugin/http-client.json"
101101
},
102+
"plugin/middleware": {
103+
"$ref": "plugin/middleware.json"
104+
},
102105
"plugin/req-resp-modifier": {
103106
"$ref": "plugin/req-resp-modifier.json"
104107
},

vendor/krakend/v2.10/endpoint_extra_config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
"modifier/response-body-generator": {
8282
"$ref": "modifier/body-generator.json"
8383
},
84+
"plugin/middleware": {
85+
"$ref": "plugin/middleware.json"
86+
},
8487
"plugin/req-resp-modifier": {
8588
"$ref": "plugin/req-resp-modifier.json"
8689
},
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://www.krakend.io/schema/v2.10/plugin/middleware.json",
4+
"title": "Enterprise Only. Middleware plugins.\n\nSee: https://www.krakend.io/docs/extending/injecting-plugins/",
5+
"type": "object",
6+
"required": [
7+
"name"
8+
],
9+
"properties": {
10+
"name": {
11+
"$id": "#plugin/middleware",
12+
"title": "Plugin name",
13+
"description": "An array with the names of plugins to load. The names are defined inside your plugin.\n\nSee: https://www.krakend.io/docs/enterprise/extending/middleware-plugins/",
14+
"type": "array",
15+
"items": {
16+
"type": "string"
17+
}
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)