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

Implement decorator based specs #152

rochacbruno opened this issue Sep 1, 2017 · 0 comments

Implement decorator based specs #152

rochacbruno opened this issue Sep 1, 2017 · 0 comments


Copy link

@rochacbruno rochacbruno commented Sep 1, 2017

I liked the idea

So we can copy this!

from flasgger import doc

@doc.summary("This is a new endpoint")
@doc.parameters("This is a new endpoint")
def method(...):

It is also possible to take other examples from that repo

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.