Open willgu903 opened 4 years ago
Hello @willgu-gdm,
Unfortunately, due to a limitation in scalameta, the way we're currently generating source isn't immediately compatible with comments. If you've got some spare time to look into how to use scalameta extras in order to create (and preserve!) comments during code generation, that would be extraordinarily helpful to the project.
Ideally, we'd have some generated scaladoc that would pop up in the user's IDE, and to generally be useful in cases like you expressed.
Anyway, thank you for bringing this up!
first of all, kudos to the great package/tool for code gen. it fits our stack of akka-http/circe perfectly.
small suggestion in readability of the generated code. some comments for the functions would be helpful, especially those the require mandatory implementation. For example, I have a use case of handling file uploads with
multipart/form-data
. I setoperationId: getUpload
and ended up with function I need to implementthe first one is standard, but the second one took me a while to figure out. Some comments in the meaning of this function would be very helpful.