We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a68b2 commit 15064a4Copy full SHA for 15064a4
1 file changed
modules/openapi-generator/src/test/resources/3_0/spring/issue_18340.yaml
@@ -0,0 +1,28 @@
1
+openapi: 3.0.1
2
+info:
3
+ title: OpenAPI definition
4
+ version: '1.0'
5
+paths:
6
+ /pets:
7
+ get:
8
+ summary: Get all pets
9
+ operationId: getAllPets
10
+ responses:
11
+ default:
12
+ description: ok
13
+components:
14
+ schemas:
15
+ Pet:
16
+ type: object
17
+ properties:
18
+ petType:
19
+ type: string
20
+ discriminator:
21
+ propertyName: petType
22
+ Cat:
23
+ allOf:
24
+ - $ref: '#/components/schemas/Pet'
25
26
27
+ name:
28
0 commit comments