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

doc generation for route is sensible to decorator orders #37

Open
masfaraud opened this issue Dec 23, 2017 · 0 comments
Open

doc generation for route is sensible to decorator orders #37

masfaraud opened this issue Dec 23, 2017 · 0 comments

Comments

@masfaraud
Copy link

masfaraud commented Dec 23, 2017

Hi,
with Python 3.5.3, Flask 0.12.2 and flask-autodoc 0.1.2.
It seems to me that doc won't generate for a route if the @auto.doc() decorator isn't immediately after the @app.route one.
In the case of multiple decorators, this behavior is a little bit disturbing.
This is not really a bug, but I think it should be mentioned in the documentation.

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