client and validator for OpenAPI3 3.0, OpenAPI 3.1, OpenAPI 3.2, Swagger 2.0
Maintained. Last release 2 months ago, commits in 8 of the last 26 weeks. Weaker on contributor spread.
pip install aiopenapi3aiopenapi3
A Python OpenAPI 3 Specification client and validator for Python 3.
This project is a fork of Dorthu/openapi3.
Features
- implements …
- Swagger 2.0
- OpenAPI 3.0.3
- OpenAPI 3.1.0
- OpenAPI 3.2.0
- description document parsing via pydantic
- recursive schemas (A.a -> A)
- request body model creation via pydantic
- pydantic compatible "format"-type coercion (e.g. datetime.interval)
- additionalProperties (string-to-any dictionaries, including inline schemas with
allOf/nullable)
- response body & header parsing via pydantic
- blocking and nonblocking (asyncio) interface via httpx2
- SOCKS5 via socksio
- tests with pytest & fastapi
- providing access to methods and arguments via the sad smiley ._. interface
- Plugin Interface/api to modify description documents/requests/responses to adapt to non-compliant services