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

``` File "/usr/lib/python3.10/_distutils_system_mod.py", line 137, in wrapped_load_schemes _inject_headers(name, scheme) File "/usr/lib/python3.10/_distutils_system_mod.py", line 125, in _inject_headers scheme['headers'] = orig_install._load_schemes()['posix_prefix']['headers'] File "/usr/lib/python3.10/_distutils_system_mod.py", line 137, in wrapped_load_schemes _inject_headers(name, scheme) File "/usr/lib/python3.10/_distutils_system_mod.py", line 125,...

If you try to run first example from docs, you'll get an TypeError exception: ``` Traceback (most recent call last): File "app.py", line 19, in @request_schema(RequestSchema(strict=True)) TypeError: __init__() got an...

Now setup_aiohttp_apispec returns AiohttpApiSpec instance and we need to fix return type.

Is there any plan support openapi 3.0 ?

enhancement
hacktoberfest

Tested with MWE, both 2.0 and 3.0.x create functional swagger docs.

Hi. Just a friendly heads up about this change coming in the next major webargs version. https://github.com/marshmallow-code/webargs/pull/420 Do you foresee any issue with this?

Hey! Is it possible to validate extra keys in data? For example: ``` class TaskSerializer(Schema): id = fields.Int() name = fields.Str() ) class TaskView(BaseView): serializer = TaskSerializer() @request_schema(TaskSerializer) async def...

Hello! I've spend some time and cannot figure out, how to register custom fields for `apispec` through `aiohttp-apispec` library. Docs about this at `apispec`: https://apispec.readthedocs.io/en/latest/using_plugins.html#custom-fields But `MarshmallowPlugin` created inside `AiohttpApiSpec`...

I would like to install this package through conda-forge, because the installation process would be simpler in my use case. I would appreciate the addition a lot.

We have an admin API with a function to download a (binary) file. This specification ``` @docs( tags=["revocation"], summary="Download the tails file of revocation registry", produces="application/octet-stream", responses={200: {"description": "tails file",...