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
How do we add documentation on the model like field descriptions? The only thing I could see was from a .md file in github where we can add doc using withSerializer on DefaultSwaggerFormats, but it doesn't seem very convenient. I tried adding the swagger-api annotations on the case class to document the fields, but those were ignored.
Is there a better way that I'm missing?
Also, it would also be nice that the model documentation was put together using a type class rather than reflection like it currently seems to be doing.
The text was updated successfully, but these errors were encountered:
How do we add documentation on the model like field descriptions? The only thing I could see was from a .md file in github where we can add doc using
withSerializer
on DefaultSwaggerFormats, but it doesn't seem very convenient. I tried adding the swagger-api annotations on the case class to document the fields, but those were ignored.Is there a better way that I'm missing?
Also, it would also be nice that the model documentation was put together using a type class rather than reflection like it currently seems to be doing.
The text was updated successfully, but these errors were encountered: