File tree Expand file tree Collapse file tree
spring-boot-oneof-sealed/src/main/resources
spring-boot-oneof/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,13 @@ paths:
1515 operationId : getAllFoos
1616 responses :
1717 " 200 " :
18- $ref : " #/components/responses/200FooArray"
18+ content :
19+ application/json;charset=utf-8 :
20+ schema :
21+ items :
22+ $ref : " #/components/schemas/FooRefOrValue"
23+ type : array
24+ description : Success
1925 summary : GET all Foos
2026 tags :
2127 - Foo
@@ -29,7 +35,11 @@ paths:
2935 $ref : " #/components/requestBodies/Foo"
3036 responses :
3137 " 201 " :
32- $ref : " #/components/responses/201Foo"
38+ content :
39+ application/json :
40+ schema :
41+ $ref : " #/components/schemas/FooRefOrValue"
42+ description : Error
3343 summary : Create a Foo
3444 tags :
3545 - Foo
Original file line number Diff line number Diff line change @@ -15,7 +15,13 @@ paths:
1515 operationId : getAllFoos
1616 responses :
1717 " 200 " :
18- $ref : " #/components/responses/200FooArray"
18+ content :
19+ application/json;charset=utf-8 :
20+ schema :
21+ items :
22+ $ref : " #/components/schemas/FooRefOrValue"
23+ type : array
24+ description : Success
1925 summary : GET all Foos
2026 tags :
2127 - Foo
@@ -29,7 +35,11 @@ paths:
2935 $ref : " #/components/requestBodies/Foo"
3036 responses :
3137 " 201 " :
32- $ref : " #/components/responses/201Foo"
38+ content :
39+ application/json :
40+ schema :
41+ $ref : " #/components/schemas/FooRefOrValue"
42+ description : Error
3343 summary : Create a Foo
3444 tags :
3545 - Foo
Original file line number Diff line number Diff line change @@ -918,7 +918,11 @@ paths:
918918 $ref : " #/components/requestBodies/TestBody"
919919 responses :
920920 " 200 " :
921- $ref : " #/components/responses/SuccessfulOp"
921+ content :
922+ application/json :
923+ schema :
924+ type : bool
925+ description : Successful Operation
922926 summary : POST a test batch
923927 tags :
924928 - fake
Original file line number Diff line number Diff line change @@ -918,7 +918,11 @@ paths:
918918 $ref : " #/components/requestBodies/TestBody"
919919 responses :
920920 " 200 " :
921- $ref : " #/components/responses/SuccessfulOp"
921+ content :
922+ application/json :
923+ schema :
924+ type : bool
925+ description : Successful Operation
922926 summary : POST a test batch
923927 tags :
924928 - fake
You can’t perform that action at this time.
0 commit comments