About
Openapi-core is a Python library that adds client-side and server-side support
for the OpenAPI v3.0
and OpenAPI v3.1 specification.
Key features
Validation and unmarshalling of request and response data (including webhooks)
Integration with popular libraries (Requests, Werkzeug) and frameworks (Django, Falcon, Flask, Starlette)
Customization with media type deserializers and format unmarshallers
Security data providers (API keys, Cookie, Basic and Bearer HTTP authentications)
Documentation
Check documentation to see more details about the features. All documentation is in the “docs” directory and online at openapi-core.readthedocs.io
Installation
Recommended way (via pip):
pip install openapi-core
Alternatively you can download the code and install from the repository:
pip install -e git+https:/github.com/python-openapi/openapi-core.git#egg=openapi_core
First steps
Firstly create your OpenAPI object.
from openapi_core import OpenAPI
openapi = OpenAPI.from_file_path('op
|