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

Define best practices for defining api docs centrally #28

Open
woylie opened this issue Jul 3, 2017 · 1 comment
Open

Define best practices for defining api docs centrally #28

woylie opened this issue Jul 3, 2017 · 1 comment

Comments

@woylie
Copy link
Member

woylie commented Jul 3, 2017

Currently, all the api doc macros are meant to be used within the controllers. It might be better if some definitions (i.e. shared parameters, warnings etc.) would be defined in a central place. Also, sometimes it might be a better idea to define the route descriptions in a central place as well. We should define best practices for this and figure out how to handle centrally defined api macros.

@woylie
Copy link
Member Author

woylie commented Jul 13, 2017

See also this comment and fork.

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

No branches or pull requests

1 participant