forked from loafle/openapi-generator-original
Do not add schema / class name mapping where custom mapping exists (#14984)
* fix #13150 Do not add schema / class name mapping where custom mapping exists * update test spec * improve import * fix import for mapped models * fix python * code clean up * fix dart client import * fix dart:core import * better import * add tests --------- Co-authored-by: Bernie Schelberg <bernard.schelberg@mywave.ai>
This commit is contained in:
@@ -1507,6 +1507,9 @@ components:
|
||||
- $ref: '#/components/schemas/Cat_allOf'
|
||||
Animal:
|
||||
discriminator:
|
||||
mapping:
|
||||
DOG: '#/components/schemas/Dog'
|
||||
CAT: '#/components/schemas/Cat'
|
||||
propertyName: className
|
||||
properties:
|
||||
className:
|
||||
|
||||
Reference in New Issue
Block a user