File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ NON-BREAKING CHANGES:
55/a/:put -> 200 - Response - Body<A3>.description<string> - Narrowed type - string -> integer.int32
66/a/{id}:get -> 200 - Response - Body<A3>.colour<string> - Added property
77/a/{id}:get -> 200 - Response - Body<A3>.description<string> - Narrowed type - string -> integer.int32
8+ /c/:post -> 204 - Response - Body<C6> - Added property
9+ Spec Definitions.C6 - Added a schema definition
810
911BREAKING CHANGES:
1012=================
1113/a/:get -> 200 - Response - Body<array[A1]> - Deleted response
14+ /c/:post -> 200 - Response - Body<array[C1]> - Deleted property
1215Spec Definitions.C5.a<array[string]> - Changed type - <array[string]> -> <object>
13- compatibility test FAILED: 2 breaking changes detected
16+ compatibility test FAILED: 3 breaking changes detected
Original file line number Diff line number Diff line change 125125 }
126126 ],
127127 "responses" : {
128+ "200" : {
129+ "description" : " 200 response" ,
130+ "schema" : {
131+ "type" : " array" ,
132+ "items" : { "$ref" : " #/definitions/C1" }
133+ }
134+ },
128135 "204" : {
129136 "description" : " 204 response"
130137 }
Original file line number Diff line number Diff line change 125125 }
126126 ],
127127 "responses" : {
128+ "200" : {
129+ "description" : " 200 response"
130+ },
128131 "204" : {
129- "description" : " 204 response"
132+ "description" : " 204 response" ,
133+ "schema" : {"$ref" : " #/definitions/C6" }
130134 }
131135 }
132136 }
260264 "type" : " object"
261265 }
262266 }
267+ },
268+ "C6" : {
269+ "required" : [ " a" ],
270+ "properties" : {
271+ "a" : {
272+ "type" : " array" ,
273+ "items" : {"type" : " string" }
274+ }
275+ }
263276 }
264277 }
265278}
You can’t perform that action at this time.
0 commit comments