flask-restful-swagger
flask-restful-swagger copied to clipboard
Specify all imports in examples
I am trying to understand how to use flask-restful-swagger, but I really struggle with the README (only documentation, that I found). One of the reasons is, that many imports are missing in the examples. I don't know where classes like marshal_with, fields came from.
Please add imports to the examples.
Hi @PetrDlouhy, thanks for taking the time to file an issue.
marshal_with, and fields come directly from flask-restful, and not this package.
Here is the relevant documentation:
https://flask-restful.readthedocs.io/en/latest/api.html
Your point about explicitly adding the imports is a good one however.
I can certainly take a stab it, but please feel free to fork the repo and submit a PR for any documentation you think should be updated!