aiopenapi3
If you can’t make it perfect, make it adjustable.
aiopenapi3 is a client library to interface RESTful services using OpenAPI/Swagger description documents, built upon pydantic for data validation/coercion and httpx for transport. It’s located on github.
Features & Limitations
While aiopenapi3 supports some of the more exotic features of the Swagger/OpenAPI specification, e.g.:
multilingual
Swagger 2.0
OpenAPI 3.0
OpenAPI 3.1
multi file description documents
recursive schemas
plugin interface to mangle description documents and messages
some aspects of the specifications can not be supported.
-
oneOf - validation does not care if more than one matches
anyOf - implemented as oneOf
allOf - merging Schemas is limited wrt. to merge conflicts
additionalProperties mixed with properties
non-unique parameter names in an operations headers/path/query
Contents: