Skip to main content

No project description provided

Project description

https://img.shields.io/pypi/v/openapi-core.svg https://travis-ci.org/p1c2u/openapi-core.svg?branch=master https://img.shields.io/codecov/c/github/p1c2u/openapi-core/master.svg?style=flat https://img.shields.io/pypi/pyversions/openapi-core.svg https://img.shields.io/pypi/format/openapi-core.svg https://img.shields.io/pypi/status/openapi-core.svg

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

openapi_core-0.1.1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file openapi_core-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openapi_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d2c4d89b16960aabed59b2e68d9a734ebf51a0f0f1ff4a9468e56e69a686e1c
MD5 f4fc5cf7531d629fecce12d4352177e2
BLAKE2b-256 42cf4cb072b9a60b6169a58d1c8497820b1375ffb143f6bdef1331984970d990

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page