aiohttp-swagger
aiohttp-swagger copied to clipboard
Swagger API Documentation builder for aiohttp server
Is it possible to use the web interface "Try it out" feature, with a REST endpoing which sends data incrementally, and never returns a response code? The server does like...
Hello, I am trying to describe the parameters for an API endpoint, which is supposed to serve file uploads. My docstring looks like ``` async def handle_upload(self, request: web.Request) ->...
Sometimes not all route and/or method handlers need to be part of API documentation. This adds a simple way to mark handlers as excluded from the documenation generation.
Latest UI 3 code from [swagger-ui](https://github.com/swagger-api/swagger-ui/)
Latest UI 2 code from [swagger-ui](https://github.com/swagger-api/swagger-ui/)
Hi, I just wanted the swagger UI to be the default page of my web app (which otherwise uses named endpoints), but hit an exception with the current code which...
When using classes with regexes, `aiohttp-swagger` attempts to convert these to patterns in the openapi v3 format. If the regex got any escaped characters, such as `\w`, the code will...
The change is really trivial (just a couple of lines) and allows to point to an arbitrary directory that contains a custom swagger theme. Instead of loading the files provided...
Hello! I have an issue with describing an optional property with oneOf keyword. Given a code: ``` from aiohttp import web from aiohttp_swagger3 import SwaggerDocs, SwaggerUiSettings async def handler(request: web.Request)...
This package uses typehints, however `mypy` gives the following error when run on packages that import it: ``` error: Skipping analyzing 'aiohttp_swagger': found module but no type hints or library...