Skip to content

Commit 9adcefc

Browse files
committed
Upgrade:
- spring-boot to 2.7.4 - swagger-core to 2.2.3 - swagger-ui to 4.14.3 - webjars-locator-core to 0.52
1 parent 8197824 commit 9adcefc

File tree

3 files changed

+59
-7
lines changed
  • springdoc-openapi-javadoc/src/test/resources/results
  • springdoc-openapi-webmvc-core/src/test/resources/results/3.0.1

3 files changed

+59
-7
lines changed

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.7.2</version>
14+
<version>2.7.4</version>
1515
</parent>
1616

1717
<licenses>
@@ -68,11 +68,11 @@
6868
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
6969
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
7070
<nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin>
71-
<swagger-api.version>2.2.2</swagger-api.version>
72-
<swagger-ui.version>4.14.0</swagger-ui.version>
71+
<swagger-api.version>2.2.3</swagger-api.version>
72+
<swagger-ui.version>4.14.3</swagger-ui.version>
7373
<spring-security-oauth2.version>2.3.8.RELEASE</spring-security-oauth2.version>
7474
<classgraph.version>4.8.149</classgraph.version>
75-
<webjars-locator-core.version>0.50</webjars-locator-core.version>
75+
<webjars-locator-core.version>0.52</webjars-locator-core.version>
7676
<gmavenplus-plugin.version>1.8.1</gmavenplus-plugin.version>
7777
<jaxb-impl.version>2.1</jaxb-impl.version>
7878
<javax.jws-api.version>1.1</javax.jws-api.version>

springdoc-openapi-javadoc/src/test/resources/results/app26.json

+30-2
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,44 @@
5353
},
5454
"components": {
5555
"schemas": {
56+
"Bar": {
57+
"type": "object",
58+
"properties": {
59+
"bar": {
60+
"type": "string",
61+
"description": "The Bar."
62+
}
63+
},
64+
"description": "The type Bar."
65+
},
66+
"Foo": {
67+
"type": "object",
68+
"properties": {
69+
"foo": {
70+
"type": "string",
71+
"description": "The Foo."
72+
}
73+
},
74+
"description": "The type Foo."
75+
},
5676
"MyModel": {
5777
"type": "object",
5878
"properties": {
5979
"thing": {
6080
"type": "object",
61-
"description": "Hello"
81+
"description": "Hello",
82+
"oneOf": [
83+
{
84+
"$ref": "#/components/schemas/Foo"
85+
},
86+
{
87+
"$ref": "#/components/schemas/Bar"
88+
}
89+
]
6290
}
6391
},
6492
"description": "The type My model."
6593
}
6694
}
6795
}
68-
}
96+
}

springdoc-openapi-webmvc-core/src/test/resources/results/3.0.1/app26.json

+25-1
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,36 @@
4444
},
4545
"components": {
4646
"schemas": {
47+
"Bar": {
48+
"type": "object",
49+
"properties": {
50+
"bar": {
51+
"type": "string"
52+
}
53+
}
54+
},
55+
"Foo": {
56+
"type": "object",
57+
"properties": {
58+
"foo": {
59+
"type": "string"
60+
}
61+
}
62+
},
4763
"MyModel": {
4864
"type": "object",
4965
"properties": {
5066
"thing": {
5167
"type": "object",
52-
"description": "Hello"
68+
"description": "Hello",
69+
"oneOf": [
70+
{
71+
"$ref": "#/components/schemas/Foo"
72+
},
73+
{
74+
"$ref": "#/components/schemas/Bar"
75+
}
76+
]
5377
}
5478
}
5579
}

0 commit comments

Comments
 (0)