Welcome to aio-openapi¶
Asynchronous web middleware for aiohttp and serving Rest APIs with OpenAPI v 3 specification and with optional PostgreSql database bindings.
Current version is 3.2.1.
Installation¶
It requires python 3.8 or above.
pip install aio-openapi
Development¶
Clone the repository and install dependencies (via poetry):
make install
To run tests
poetry run pytest --cov
Features¶
Asynchronous web routes with aiohttp
Data validation, serialization and unserialization with python dataclasses
OpenApi v 3 auto documentation
SqlAlchemy expression language
Asynchronous DB interaction with asyncpg
Migrations with alembic
SqlAlchemy tables as python dataclasses
Support click command line interface
Redoc document rendering (like https://api.metablock.io/v1/docs)
Optional sentry middleware