From c3cc878b7dcb66963404f88580ebcae3aff8ddcd Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Thu, 17 Dec 2020 12:38:00 +0200 Subject: [PATCH] [3.8] doc: added OpenAPI/Swagger section, added aio-openapi (#5326). (#5353) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 19170e4fad0cf304c43428ce7a0deb27cf6c8447) Co-authored-by: Коренберг Марк --- CHANGES/5326.doc | 1 + docs/third_party.rst | 53 ++++++++++++++++++++++++++++---------------- 2 files changed, 35 insertions(+), 19 deletions(-) create mode 100644 CHANGES/5326.doc diff --git a/CHANGES/5326.doc b/CHANGES/5326.doc new file mode 100644 index 00000000000..74aff4c4225 --- /dev/null +++ b/CHANGES/5326.doc @@ -0,0 +1 @@ +Refactor OpenAPI/Swagger aiohttp addons, added aio-openapi diff --git a/docs/third_party.rst b/docs/third_party.rst index 2744b2be6d9..9dec01b22d7 100644 --- a/docs/third_party.rst +++ b/docs/third_party.rst @@ -98,6 +98,40 @@ Database drivers not drop-in replacement -- the API is different. Anyway please take a look on it -- the driver is really incredible fast. +OpenAPI / Swagger extensions +---------------------------- + +Extensions bringing `OpenAPI `_ +support to aiohttp web servers. + +- `aiohttp-apispec `_ + Build and document REST APIs with ``aiohttp`` and ``apispec``. + +- `aiohttp_apiset `_ + Package to build routes using swagger specification. + +- `aiohttp-pydantic `_ + An ``aiohttp.View`` to validate the HTTP request's body, query-string, and + headers regarding function annotations and generate OpenAPI doc. Python 3.8+ + required. + +- `aiohttp-swagger `_ + Swagger API Documentation builder for aiohttp server. + +- `aiohttp-swagger3 `_ + Library for Swagger documentation builder and validating aiohttp requests + using swagger specification 3.0. + +- `aiohttp-swaggerify `_ + Library to automatically generate swagger2.0 definition for aiohttp endpoints. + +- `aio-openapi `_ + Asynchronous web middleware for aiohttp and serving Rest APIs with OpenAPI v3 + specification and with optional PostgreSql database bindings. + +- `rororo `_ + Implement ``aiohttp.web`` OpenAPI 3 server applications with schema first + approach. Python 3.6+ required. Others ------ @@ -118,18 +152,9 @@ period ask to raise the status. - `gain `_ Web crawling framework based on asyncio for everyone. -- `aiohttp-swagger `_ - Swagger API Documentation builder for aiohttp server. - -- `aiohttp-swaggerify `_ - Library to automatically generate swagger2.0 definition for aiohttp endpoints. - - `aiohttp-validate `_ Simple library that helps you validate your API endpoints requests/responses with json schema. -- `aiohttp-pydantic `_ - An ``aiohttp.View`` to validate the HTTP request's body, query-string, and headers regarding function annotations and generate Open API doc. Python 3.8+ required. - - `raven-aiohttp `_ An aiohttp transport for raven-python (Sentry client). @@ -152,9 +177,6 @@ period ask to raise the status. `_ A transmute implementation for aiohttp. -- `aiohttp_apiset `_ - Package to build routes using swagger specification. - - `aiohttp-login `_ Registration and authorization (including social) for aiohttp applications. @@ -230,9 +252,6 @@ period ask to raise the status. - `GINO `_ An asyncio ORM on top of SQLAlchemy core, delivered with an aiohttp extension. -- `aiohttp-apispec `_ - Build and document REST APIs with ``aiohttp`` and ``apispec``. - - `eider-py `_ Python implementation of the `Eider RPC protocol `_. @@ -248,10 +267,6 @@ period ask to raise the status. - `DBGR `_ Terminal based tool to test and debug HTTP APIs with ``aiohttp``. -- `rororo `_ - Implement ``aiohtp.web`` OpenAPI 3 server applications with schema first - approach. Python 3.6+ required. - - `aiohttp-middlewares `_ Collection of useful middlewares for ``aiohttp.web`` applications. Python 3.6+ required.