aiohttp-swagger
aiohttp-swagger copied to clipboard
Swagger API Documentation builder for aiohttp server
Ath the moment a custom template way is implemented in the package: ``` with open(join(STATIC_PATH, "index.html"), "r") as f: app["SWAGGER_TEMPLATE_CONTENT"] = ( f.read() .replace("##SWAGGER_CONFIG##", '/{}{}'. format(api_base_url.lstrip('/'), _swagger_def_url)) .replace("##STATIC_PATH##", '/{}{}'. format(api_base_url.lstrip('/'),...
The param should be used as prefix to yaml definitions. Now `swagger_path` accepts either absolute path or relative to current directory. The parameter will allow to use _relative to prefix_...
I got a problem with nested app. Pseudocode: ``` api_app = Application() setup_swagger(api_app, swagger_url='/doc') main_app = Application() main_app.add_subapp('/api', api_app) ``` Problem is that Swagger is available on `/api/doc`, but Swagger...
For example: ``` parameters: - in: query name: search type: string description: Search something ``` Description is empty on page. Where I can paste that piece for render it?
Hello, any chance you could consider supporting remote references in swagger files?
I would like to automatically change the host value with the current request.headers['Host'] value. Is that possible?
Hi there! Firstly, congratulations for the project! I'm experimenting the library to use in one of my projects. Sorry for the ignorance. I'm having some trouble when navigating through static...
Currently only handlers are being analyzed for docstrings. So as part of the docstring it is possible to mention response object and errors using next notation: ``` responses: 200: description:...
Nice work on this project! Would you be open to collaborating on an integration with [apispec](https://github.com/marshmallow-code/apispec), a framework-agnostic swagger spec generator? This would allow users of aiohttp-swagger to take advantage...
[pathlib](https://docs.python.org/3/library/pathlib.html) is very perfect library and excellent replacement for `os.path` functions. I would love to encourage the library usage.