forked from loafle/openapi-generator-original
Add tests for anyof with discriminator (#19021)
* add tests for anyof with discriminator * remove test * update samples
This commit is contained in:
@@ -2059,6 +2059,13 @@ components:
|
||||
- $ref: '#/components/schemas/whale'
|
||||
- $ref: '#/components/schemas/zebra'
|
||||
- $ref: '#/components/schemas/Pig'
|
||||
mammal_anyof:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/whale'
|
||||
- $ref: '#/components/schemas/zebra'
|
||||
- $ref: '#/components/schemas/Pig'
|
||||
discriminator:
|
||||
propertyName: className
|
||||
whale:
|
||||
properties:
|
||||
hasBaleen:
|
||||
|
||||
Reference in New Issue
Block a user