aiohttp-apispec icon indicating copy to clipboard operation
aiohttp-apispec copied to clipboard

Build and document REST APIs with aiohttp and apispec

Results 33 aiohttp-apispec issues
Sort by recently updated
recently updated
newest added

In example for [custom validation errors handling](https://github.com/maximdanilchenko/aiohttp-apispec#custom-error-handling) you raise HTTPException with body argument: ``` def my_error_handler( error: ValidationError, req: web.Request, schema: Schema, error_status_code: Optional[int] = None, error_headers: Optional[Mapping[str, str]] =...

Hello! I need pass custom plugins to APISpec, but there no possibility to do this because only `self.plugin` hardcoded in APISpec `plugins` param

Hi, I have 2 aiohttp sub-apps. Both of them handle same route with `@json_schema(SomeSchema)` applied. I'd like to have separate Swagger UI + API spec for each of the sub-apps...

match_info decorator dubbed path argumants in the generated swagger

Hi all, Thank you for this fantastic library, it will be very useful for me! I was experimenting with this library for a project of mine and noticed that the...

If I define the following argument and add it to my spec, the Swagger spec and UI correctly renders it (i.e. I can upload a file from the UI, and...

`SwaggerUIBundle` is called in the `static/index.html` file. Its parameters are hard codded. I would like to set `validatorUrl` to `null`. But right now this is not possible. It would be...

I offer this idea: ```python from aiohttp import web from webargs.aiohttpparser import AIOHTTPParser from .utils import issubclass_py37fix def validation_middleware(status: int = AIOHTTPParser.DEFAULT_VALIDATION_STATUS): class Parser(AIOHTTPParser): DEFAULT_VALIDATION_STATUS = status parser = Parser()...

It would be great if it was possible to pass a dumps function to setup_aiohttp_apispec that should be used in https://github.com/maximdanilchenko/aiohttp-apispec/blob/master/aiohttp_apispec/aiohttp_apispec.py#L97 to serialize swagger dict. That would enable usage of...

When will Python 3.10 become fully supported? Thanks!