Skip to content

Commit ae60fbe

Browse files
committed
Updated the contract tests
(3390)
1 parent fd144a0 commit ae60fbe

2 files changed

Lines changed: 58 additions & 4 deletions

File tree

swagger-contract-tests/src/test/resources/contract/swagger2/declaration-bugs-different-service.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,13 +1109,13 @@
11091109
"type": "string"
11101110
},
11111111
{
1112-
"name": "nestedType.name",
1112+
"name": "foo",
11131113
"in": "formData",
11141114
"required": false,
11151115
"type": "string"
11161116
},
11171117
{
1118-
"name": "foo",
1118+
"name": "nestedType.name",
11191119
"in": "formData",
11201120
"required": false,
11211121
"type": "string"
@@ -2106,6 +2106,33 @@
21062106
}
21072107
}
21082108
},
2109+
"/bugs/bug3390{?range}": {
2110+
"get": {
2111+
"tags": [
2112+
"Bugs"
2113+
],
2114+
"summary": "bug3390",
2115+
"operationId": "bug3390UsingGET_1",
2116+
"parameters": [
2117+
{
2118+
"name": "range",
2119+
"in": "query",
2120+
"required": false,
2121+
"type": "integer",
2122+
"maximum": 99,
2123+
"exclusiveMaximum": false,
2124+
"minimum": 1,
2125+
"exclusiveMinimum": false,
2126+
"format": "int32"
2127+
}
2128+
],
2129+
"responses": {
2130+
"200": {
2131+
"description": "OK"
2132+
}
2133+
}
2134+
}
2135+
},
21092136
"/bugs/{bar}/2148{?year}": {
21102137
"get": {
21112138
"tags": [

swagger-contract-tests/src/test/resources/contract/swagger2/declaration-bugs-service.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,13 +1113,13 @@
11131113
"type": "string"
11141114
},
11151115
{
1116-
"name": "nestedType.name",
1116+
"name": "foo",
11171117
"in": "formData",
11181118
"required": false,
11191119
"type": "string"
11201120
},
11211121
{
1122-
"name": "foo",
1122+
"name": "nestedType.name",
11231123
"in": "formData",
11241124
"required": false,
11251125
"type": "string"
@@ -2109,6 +2109,33 @@
21092109
}
21102110
}
21112111
},
2112+
"/bugs/bug3390{?range}": {
2113+
"get": {
2114+
"tags": [
2115+
"Bugs"
2116+
],
2117+
"summary": "bug3390",
2118+
"operationId": "bug3390UsingGET",
2119+
"parameters": [
2120+
{
2121+
"name": "range",
2122+
"in": "query",
2123+
"required": false,
2124+
"type": "integer",
2125+
"maximum": 99,
2126+
"exclusiveMaximum": false,
2127+
"minimum": 1,
2128+
"exclusiveMinimum": false,
2129+
"format": "int32"
2130+
}
2131+
],
2132+
"responses": {
2133+
"200": {
2134+
"description": "OK"
2135+
}
2136+
}
2137+
}
2138+
},
21122139
"/bugs/{bar}/2148{?year}": {
21132140
"get": {
21142141
"tags": [

0 commit comments

Comments
 (0)