Skip to content

Commit 0bfe92e

Browse files
committed
Fixing tests after spring-boot upgrade to 3.1.2
1 parent af9c5f1 commit 0bfe92e

File tree

22 files changed

+191
-191
lines changed

22 files changed

+191
-191
lines changed

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app106.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"hello-controller"
1818
],
1919
"summary": "find-articles",
20-
"operationId": "findArticles",
20+
"operationId": "findArticles_1",
2121
"parameters": [
2222
{
2323
"name": "If-Modified-Since",

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app108.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tags": [
1717
"hello-controller"
1818
],
19-
"operationId": "update",
19+
"operationId": "update_1",
2020
"parameters": [
2121
{
2222
"name": "toto",

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app122.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"example"
1818
],
1919
"summary": "create",
20-
"operationId": "create",
20+
"operationId": "create_1",
2121
"requestBody": {
2222
"content": {
2323
"application/json": {

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app126.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"summary": "getAllCurrencies",
2020
"description": "Get all currencies",
21-
"operationId": "getAllCurrencies",
21+
"operationId": "getAllCurrencies_1",
2222
"responses": {
2323
"401": {
2424
"$ref": "#/components/responses/http401NoToken"
@@ -65,12 +65,12 @@
6565
"title": {
6666
"type": "string"
6767
},
68+
"detail": {
69+
"type": "string"
70+
},
6871
"status": {
6972
"type": "integer",
7073
"format": "int32"
71-
},
72-
"detail": {
73-
"type": "string"
7474
}
7575
}
7676
}

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app161.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,25 @@
1111
}
1212
],
1313
"paths": {
14-
"/": {
14+
"/add": {
1515
"post": {
1616
"tags": [
1717
"hello-controller"
1818
],
19-
"summary": "This is a test message",
20-
"operationId": "test",
19+
"summary": "add",
20+
"operationId": "add",
2121
"requestBody": {
2222
"content": {
2323
"multipart/form-data": {
2424
"schema": {
2525
"required": [
26-
"intValue",
27-
"strValue"
26+
"content"
2827
],
2928
"type": "object",
3029
"properties": {
31-
"strValue": {
32-
"type": "string"
33-
},
34-
"intValue": {
35-
"type": "integer",
36-
"format": "int32"
30+
"content": {
31+
"type": "string",
32+
"description": "content"
3733
}
3834
}
3935
}
@@ -47,25 +43,29 @@
4743
}
4844
}
4945
},
50-
"/add": {
46+
"/add2": {
5147
"post": {
5248
"tags": [
5349
"hello-controller"
5450
],
55-
"summary": "add",
56-
"operationId": "add",
51+
"summary": "add2",
52+
"operationId": "add2",
5753
"requestBody": {
5854
"content": {
5955
"multipart/form-data": {
6056
"schema": {
6157
"required": [
62-
"content"
58+
"content",
59+
"type"
6360
],
6461
"type": "object",
6562
"properties": {
6663
"content": {
6764
"type": "string",
6865
"description": "content"
66+
},
67+
"type": {
68+
"type": "string"
6969
}
7070
}
7171
}
@@ -79,29 +79,29 @@
7979
}
8080
}
8181
},
82-
"/add2": {
82+
"/": {
8383
"post": {
8484
"tags": [
8585
"hello-controller"
8686
],
87-
"summary": "add2",
88-
"operationId": "add2",
87+
"summary": "This is a test message",
88+
"operationId": "test_1",
8989
"requestBody": {
9090
"content": {
9191
"multipart/form-data": {
9292
"schema": {
9393
"required": [
94-
"content",
95-
"type"
94+
"intValue",
95+
"strValue"
9696
],
9797
"type": "object",
9898
"properties": {
99-
"content": {
100-
"type": "string",
101-
"description": "content"
102-
},
103-
"type": {
99+
"strValue": {
104100
"type": "string"
101+
},
102+
"intValue": {
103+
"type": "integer",
104+
"format": "int32"
105105
}
106106
}
107107
}

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app198.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tags": [
1717
"hello-controller"
1818
],
19-
"operationId": "test",
19+
"operationId": "test_1",
2020
"responses": {
2121
"200": {
2222
"description": "OK",
@@ -54,4 +54,4 @@
5454
}
5555
}
5656
}
57-
}
57+
}

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app206.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tags": [
1717
"required-mode-controller"
1818
],
19-
"operationId": "index",
19+
"operationId": "index_1",
2020
"parameters": [
2121
{
2222
"name": "id",

springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app51.json

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,35 @@
1111
}
1212
],
1313
"paths": {
14-
"/test/{path}": {
15-
"get": {
14+
"/": {
15+
"post": {
1616
"tags": [
1717
"hello-controller"
1818
],
19-
"operationId": "get",
20-
"parameters": [
21-
{
22-
"name": "path",
23-
"in": "path",
24-
"required": true,
25-
"schema": {
26-
"type": "string"
19+
"operationId": "hello_1",
20+
"requestBody": {
21+
"content": {
22+
"application/json": {
23+
"schema": {
24+
"type": "object",
25+
"additionalProperties": {
26+
"type": "object"
27+
}
28+
}
2729
}
28-
}
29-
],
30+
},
31+
"required": true
32+
},
3033
"responses": {
3134
"200": {
3235
"description": "OK",
3336
"content": {
3437
"*/*": {
3538
"schema": {
36-
"type": "string"
39+
"type": "object",
40+
"additionalProperties": {
41+
"type": "object"
42+
}
3743
}
3844
}
3945
}
@@ -82,12 +88,12 @@
8288
}
8389
}
8490
},
85-
"/test1": {
91+
"/test2": {
8692
"get": {
8793
"tags": [
8894
"hello-controller"
8995
],
90-
"operationId": "test1",
96+
"operationId": "test2",
9197
"parameters": [
9298
{
9399
"name": "test_header",
@@ -97,6 +103,14 @@
97103
"type": "string",
98104
"example": "rherherherherh"
99105
}
106+
},
107+
{
108+
"name": "param1",
109+
"in": "query",
110+
"required": true,
111+
"schema": {
112+
"type": "string"
113+
}
100114
}
101115
],
102116
"responses": {
@@ -113,12 +127,12 @@
113127
}
114128
}
115129
},
116-
"/test2": {
130+
"/test1": {
117131
"get": {
118132
"tags": [
119133
"hello-controller"
120134
],
121-
"operationId": "test2",
135+
"operationId": "test1",
122136
"parameters": [
123137
{
124138
"name": "test_header",
@@ -128,14 +142,6 @@
128142
"type": "string",
129143
"example": "rherherherherh"
130144
}
131-
},
132-
{
133-
"name": "param1",
134-
"in": "query",
135-
"required": true,
136-
"schema": {
137-
"type": "string"
138-
}
139145
}
140146
],
141147
"responses": {
@@ -152,35 +158,29 @@
152158
}
153159
}
154160
},
155-
"/": {
156-
"post": {
161+
"/test/{path}": {
162+
"get": {
157163
"tags": [
158164
"hello-controller"
159165
],
160-
"operationId": "hello",
161-
"requestBody": {
162-
"content": {
163-
"application/json": {
164-
"schema": {
165-
"type": "object",
166-
"additionalProperties": {
167-
"type": "object"
168-
}
169-
}
166+
"operationId": "get",
167+
"parameters": [
168+
{
169+
"name": "path",
170+
"in": "path",
171+
"required": true,
172+
"schema": {
173+
"type": "string"
170174
}
171-
},
172-
"required": true
173-
},
175+
}
176+
],
174177
"responses": {
175178
"200": {
176179
"description": "OK",
177180
"content": {
178181
"*/*": {
179182
"schema": {
180-
"type": "object",
181-
"additionalProperties": {
182-
"type": "object"
183-
}
183+
"type": "string"
184184
}
185185
}
186186
}
@@ -190,4 +190,4 @@
190190
}
191191
},
192192
"components": {}
193-
}
193+
}

0 commit comments

Comments
 (0)