Skip to content

Commit 68be64e

Browse files
committed
swagger-core upgrade to 2.2.23
1 parent 2b45ea4 commit 68be64e

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
6161
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
6262
<nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin>
63-
<swagger-api.version>2.2.22</swagger-api.version>
63+
<swagger-api.version>2.2.23</swagger-api.version>
6464
<swagger-ui.version>5.17.14</swagger-ui.version>
6565
<gmavenplus-plugin.version>1.13.1</gmavenplus-plugin.version>
6666
<jjwt.version>0.9.1</jjwt.version>

Diff for: springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app1.json

+2
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@
236236
"required": false,
237237
"explode": false,
238238
"schema": {
239+
"type": "array",
239240
"items": {}
240241
}
241242
}
@@ -453,6 +454,7 @@
453454
"content": {
454455
"application/json": {
455456
"schema": {
457+
"type": "array",
456458
"items": {
457459
"$ref": "#/components/schemas/PersonDTO"
458460
}

Diff for: springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app2.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,8 @@
809809
}
810810
}
811811
},
812-
"404": {
813-
"description": "Order not found",
812+
"200": {
813+
"description": "successful operation",
814814
"content": {
815815
"application/xml": {
816816
"schema": {
@@ -824,8 +824,8 @@
824824
}
825825
}
826826
},
827-
"200": {
828-
"description": "successful operation",
827+
"404": {
828+
"description": "Order not found",
829829
"content": {
830830
"application/xml": {
831831
"schema": {
@@ -901,6 +901,7 @@
901901
"content": {
902902
"application/json": {
903903
"schema": {
904+
"type": "array",
904905
"items": {}
905906
}
906907
}
@@ -953,13 +954,15 @@
953954
"content": {
954955
"application/xml": {
955956
"schema": {
957+
"type": "array",
956958
"items": {
957959
"$ref": "#/components/schemas/Pet"
958960
}
959961
}
960962
},
961963
"application/json": {
962964
"schema": {
965+
"type": "array",
963966
"items": {
964967
"$ref": "#/components/schemas/Pet"
965968
}
@@ -1017,13 +1020,15 @@
10171020
"content": {
10181021
"application/xml": {
10191022
"schema": {
1023+
"type": "array",
10201024
"items": {
10211025
"$ref": "#/components/schemas/Pet"
10221026
}
10231027
}
10241028
},
10251029
"application/json": {
10261030
"schema": {
1031+
"type": "array",
10271032
"items": {
10281033
"$ref": "#/components/schemas/Pet"
10291034
}

0 commit comments

Comments
 (0)