Skip to content

Commit 9156902

Browse files
add classType field
1 parent d3cb3f2 commit 9156902

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/openapi-generator/src/test/resources/bugs/issue_23034.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ components:
1717

1818
Parent:
1919
required:
20+
- classType
2021
- parentField
2122
type: object
2223
properties:
2324
parentField:
2425
type: string
2526
readOnly: true
27+
classType:
28+
description: Identifier of discriminator mapping class.
29+
enum:
30+
- Child
31+
type: string
2632
discriminator:
2733
propertyName: classType
2834
mapping:

0 commit comments

Comments
 (0)