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

Open
rochacbruno opened this Issue Sep 1, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@rochacbruno
Owner

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")
@doc.response(...)
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