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 Original file line number Diff line number Diff line change 11
11
<parent >
12
12
<groupId >org.springframework.boot</groupId >
13
13
<artifactId >spring-boot-starter-parent</artifactId >
14
- <version >2.7.2 </version >
14
+ <version >2.7.4 </version >
15
15
</parent >
16
16
17
17
<licenses >
68
68
<maven-gpg-plugin .version>1.6</maven-gpg-plugin .version>
69
69
<maven-release-plugin .version>2.5.3</maven-release-plugin .version>
70
70
<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>
73
73
<spring-security-oauth2 .version>2.3.8.RELEASE</spring-security-oauth2 .version>
74
74
<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>
76
76
<gmavenplus-plugin .version>1.8.1</gmavenplus-plugin .version>
77
77
<jaxb-impl .version>2.1</jaxb-impl .version>
78
78
<javax .jws-api.version>1.1</javax .jws-api.version>
Original file line number Diff line number Diff line change 53
53
},
54
54
"components" : {
55
55
"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
+ },
56
76
"MyModel" : {
57
77
"type" : " object" ,
58
78
"properties" : {
59
79
"thing" : {
60
80
"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
+ ]
62
90
}
63
91
},
64
92
"description" : " The type My model."
65
93
}
66
94
}
67
95
}
68
- }
96
+ }
Original file line number Diff line number Diff line change 44
44
},
45
45
"components" : {
46
46
"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
+ },
47
63
"MyModel" : {
48
64
"type" : " object" ,
49
65
"properties" : {
50
66
"thing" : {
51
67
"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
+ ]
53
77
}
54
78
}
55
79
}
You can’t perform that action at this time.
0 commit comments