Forum Discussion

jodanjames's avatar
jodanjames
Visitor
3 years ago

Question on client side code generater

Hi,

 

I am using the "java -jar swagger-codegen-cli-3.0.24.jar generate -l typescript-angular ...." to generate angular api, But the code generated in model directory are all interfaces instead of classes.

 

May I ask if there is an option for it to generate the class files, or class files along with the interface files?

 

Thanks,

 

Jodan

 

  • Hi jodanjames 

     

    I don't think there is such an option, may I ask what you're looking for in the classes, that the interfaces aren't satisfying?