File tree 2 files changed +8
-5
lines changed
gateway/src/apicast/policy/statuscode_overwrite
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
21
21
- Fixed lua socket error on ssl_certificate [ PR #1283 ] ( https://github.com/3scale/APIcast/pull/1283 ) [ THREESCALE-7230] ( https://issues.redhat.com/browse/THREESCALE-7230 )
22
22
- Fixed Acess log header [ PR #1284 ] ( https://github.com/3scale/APIcast/pull/1284 ) [ THREESCALE-6193] ( https://issues.redhat.com/browse/THREESCALE-6193 )
23
23
- Fixed Payload limit jsonschema [ PR #1293 ] ( https://github.com/3scale/APIcast/pull/1293 ) [ THREESCALE-6965] ( https://issues.redhat.com/browse/THREESCALE-6965 )
24
+ - Fixed Status code overwrite policy jsonschema [ PR #1294 ] ( https://github.com/3scale/APIcast/pull/1294 ) [ THREESCALE-7238] ( https://issues.redhat.com/browse/THREESCALE-7238 )
24
25
25
26
### Added
26
27
Original file line number Diff line number Diff line change 2
2
"$schema" : " http://apicast.io/policy-v1.1/schema#manifest#" ,
3
3
"name" : " HTTP Status Code Overwrite" ,
4
4
"summary" : " Modify the HTTP status code returned by the upstream" ,
5
- "description" :
6
- [" Configures a 1-1 mapping for upstream's http codes." ],
5
+ "description" : [
6
+ " Configures a 1-1 mapping for upstream's http codes."
7
+ ],
7
8
"version" : " builtin" ,
8
9
"configuration" : {
9
10
"type" : " object" ,
20
21
"properties" : {
21
22
"upstream" : {
22
23
"description" : " Upstream HTTP code to replace" ,
24
+ "title" : " Upstream" ,
23
25
"type" : " integer" ,
24
26
"minimum" : 100 ,
25
27
"maximum" : 600
26
28
},
27
29
"apicast" : {
28
- "title" : " Return HTTP code" ,
30
+ "title" : " Return HTTP code" ,
29
31
"description" : " HTTP code to return" ,
30
32
"type" : " integer" ,
31
33
"minimum" : 100 ,
32
34
"maximum" : 600
33
35
}
34
36
}
35
37
}
36
-
37
38
}
38
39
},
39
40
"properties" : {
40
41
"http_statuses" : {
41
42
"title" : " HTTP status codes map" ,
42
- "$ref" : " #/definitions/codes" }
43
+ "$ref" : " #/definitions/codes"
44
+ }
43
45
}
44
46
}
45
47
}
You can’t perform that action at this time.
0 commit comments