Closed ninit closed 8 years ago
Hi,
This is a proposal to decode a special line in a docstring swagger_from_file: path.
swagger_from_file: path
I think it could be useful sometimes to take the yaml swagger spec out of the docstring:
In the pull request you'll find besides flask_swagger.py a modified example and README.md
Please criticize as needed. Thanks.
Otherwise looks good and thanks for contributing!
Thanks for your review. You're right, it's better to leave this off by default. I've just committed the change.
Hi,
This is a proposal to decode a special line in a docstring
swagger_from_file: path
.I think it could be useful sometimes to take the yaml swagger spec out of the docstring:
In the pull request you'll find besides flask_swagger.py a modified example and README.md
Please criticize as needed. Thanks.