Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model documentation #235

Open
gpoirier opened this issue Aug 24, 2018 · 1 comment
Open

Model documentation #235

gpoirier opened this issue Aug 24, 2018 · 1 comment

Comments

@gpoirier
Copy link

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.

@gpoirier
Copy link
Author

hmm, I realized after posting that I should have looked at other issues first. Looks like someone asked a similar question just before me: #220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant