Skip to content

Commit 829e4b6

Browse files
committed
swagger-core upgrade to version: 2.2.24
1 parent 0d7dc37 commit 829e4b6

File tree

8 files changed

+33
-14
lines changed

8 files changed

+33
-14
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.23</swagger-api.version>
63+
<swagger-api.version>2.2.24</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

+6
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@
517517
"components": {
518518
"schemas": {
519519
"ErrorMessage": {
520+
"type": "object",
520521
"properties": {
521522
"id": {
522523
"type": "string"
@@ -527,6 +528,7 @@
527528
}
528529
},
529530
"PersonDTO": {
531+
"type": "object",
530532
"properties": {
531533
"email": {
532534
"type": "string"
@@ -540,6 +542,7 @@
540542
}
541543
},
542544
"ItemLightDTO": {
545+
"type": "object",
543546
"properties": {
544547
"description": {
545548
"type": "string"
@@ -556,6 +559,7 @@
556559
}
557560
},
558561
"InventoryItem": {
562+
"type": "object",
559563
"properties": {
560564
"id": {
561565
"type": "string",
@@ -582,6 +586,7 @@
582586
]
583587
},
584588
"Manufacturer": {
589+
"type": "object",
585590
"properties": {
586591
"name": {
587592
"type": "string",
@@ -601,6 +606,7 @@
601606
]
602607
},
603608
"ItemDTO": {
609+
"type": "object",
604610
"properties": {
605611
"itemID": {
606612
"type": "string"

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

+18-12
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
}
6262
}
6363
},
64-
"200": {
65-
"description": "successful operation",
64+
"404": {
65+
"description": "User not found",
6666
"content": {
6767
"application/xml": {
6868
"schema": {
@@ -76,8 +76,8 @@
7676
}
7777
}
7878
},
79-
"404": {
80-
"description": "User not found",
79+
"200": {
80+
"description": "successful operation",
8181
"content": {
8282
"application/xml": {
8383
"schema": {
@@ -464,8 +464,8 @@
464464
}
465465
}
466466
},
467-
"404": {
468-
"description": "Pet not found",
467+
"200": {
468+
"description": "successful operation",
469469
"content": {
470470
"application/xml": {
471471
"schema": {
@@ -479,8 +479,8 @@
479479
}
480480
}
481481
},
482-
"200": {
483-
"description": "successful operation",
482+
"404": {
483+
"description": "Pet not found",
484484
"content": {
485485
"application/xml": {
486486
"schema": {
@@ -809,8 +809,8 @@
809809
}
810810
}
811811
},
812-
"200": {
813-
"description": "successful operation",
812+
"404": {
813+
"description": "Order not found",
814814
"content": {
815815
"application/xml": {
816816
"schema": {
@@ -824,8 +824,8 @@
824824
}
825825
}
826826
},
827-
"404": {
828-
"description": "Order not found",
827+
"200": {
828+
"description": "successful operation",
829829
"content": {
830830
"application/xml": {
831831
"schema": {
@@ -1051,6 +1051,7 @@
10511051
"components": {
10521052
"schemas": {
10531053
"User": {
1054+
"type": "object",
10541055
"properties": {
10551056
"id": {
10561057
"type": "integer",
@@ -1082,6 +1083,7 @@
10821083
}
10831084
},
10841085
"Category": {
1086+
"type": "object",
10851087
"properties": {
10861088
"id": {
10871089
"type": "integer",
@@ -1093,6 +1095,7 @@
10931095
}
10941096
},
10951097
"Pet": {
1098+
"type": "object",
10961099
"properties": {
10971100
"id": {
10981101
"type": "integer",
@@ -1133,6 +1136,7 @@
11331136
]
11341137
},
11351138
"Tag": {
1139+
"type": "object",
11361140
"properties": {
11371141
"id": {
11381142
"type": "integer",
@@ -1144,6 +1148,7 @@
11441148
}
11451149
},
11461150
"Order": {
1151+
"type": "object",
11471152
"properties": {
11481153
"complete": {
11491154
"type": "boolean"
@@ -1171,6 +1176,7 @@
11711176
}
11721177
},
11731178
"ModelApiResponse": {
1179+
"type": "object",
11741180
"properties": {
11751181
"code": {
11761182
"type": "integer",

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

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"components": {
4646
"schemas": {
4747
"test.org.springdoc.api.v31.app4.TrackerData": {
48+
"type": "object",
4849
"properties": {
4950
"trackerId": {
5051
"type": "string",

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

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"components": {
4646
"schemas": {
4747
"DummyData": {
48+
"type": "object",
4849
"properties": {
4950
"trackerId": {
5051
"type": "string"

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"components": {
3636
"schemas": {
3737
"ExamplesResponse": {
38+
"type": "object",
3839
"properties": {
3940
"name": {
4041
"type": "string",
@@ -46,7 +47,7 @@
4647
"subject": {
4748
"type": "string",
4849
"description": "subject",
49-
"example":"Hello",
50+
"example": "Hello",
5051
"examples": [
5152
"Hello",
5253
"World"

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

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"components": {
3636
"schemas": {
3737
"ExamplesResponse": {
38+
"type": "object",
3839
"properties": {
3940
"self": {
4041
"$ref": "#/components/schemas/UserInfo",
@@ -58,6 +59,7 @@
5859
]
5960
},
6061
"FooBar": {
62+
"type": "object",
6163
"deprecated": true,
6264
"description": "the foo bar",
6365
"properties": {
@@ -76,6 +78,7 @@
7678
]
7779
},
7880
"UserInfo": {
81+
"type": "object",
7982
"description": "user info",
8083
"properties": {
8184
"name": {

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

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"components": {
1515
"schemas": {
1616
"RequestDto": {
17+
"type": "object",
1718
"properties": {
1819
"personalNumber": {
1920
"type": "string"

0 commit comments

Comments
 (0)