No project description provided
Project description
About
Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI Specification v3.0.0.
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/p1c2u/openapi-core.git#egg=openapi_core
Usage
Firstly create your specification:
from openapi_core import create_spec
spec = create_spec(spec_dict)
Now you can use it to validate and unmarshal requests
from openapi_core import request_parameters_factory, request_body_factory
parameters = request_parameters_factory.create(request, spec)
body = request_body_factory.create(request, spec)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file openapi_core-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: openapi_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ab148e33c3a4d037e8fa41a6cd1108b1a8510ce4df60fe7e7128a3bea54c93 |
|
MD5 | e0c29eb91327d2efd3acb1eb064540fe |
|
BLAKE2b-256 | 25e1b36b3795a95edc008b1aecdd198f92406d0c0df42195b6c40fa78e456962 |