Forum Discussion

chris441's avatar
chris441
Occasional Visitor
4 years ago

Is there a way, to include javadoc comments in generated typescript interfaces ?

for example,

I had a class

 

 

/**
a fancy test class
*/
class Test {
  /**
  * a very magically id Attribute
  */
  int id;
  /**
  * and also a String....
  */
  String someAttribute = "test";

}

 

 

 

If they are run trough swagger codegen to generate typescript interfaces, the javadoc comments won't be inculuded by default. Only the class itselfs. How to change this? (when it's possible)

Goal is to directly have that backend documentation also in frontend..