You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typescript-angular2 generator does not support polymorphism. If i have base object Founder and have 2 classes that extend that base class (eg FounderComp and FounderPers)
Description
Typescript-angular2 generator does not support polymorphism. If i have base object Founder and have 2 classes that extend that base class (eg FounderComp and FounderPers)
Swagger-codegen version
latest. reproducable via generation in http://editor.swagger.io
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
generate in http://editor.swagger.io and get object
export interface FounderComp {
}
without "type" property, which should be setup when use discriminator and allOf in swagger
Related issues
#3904
Suggest a Fix
add new field "type" to every object that extend base class to determine type class
The text was updated successfully, but these errors were encountered: