Skip to main content

A library for dealing with OpenAPI v3 specifications in Python

Project description

.. |travis-ci| image::
.. |coveralls| image::
.. |pypi| image::
.. |license| image::

|travis-ci| |coveralls| |pypi| |license|

OAS3 is a parser, validator and compiler for dealing with Open API
Specification v3. This library provides an interface for working with
specifications, and loading and dumping to various locations and formats.


To get started load your spec, it will be validated upon dumping.

.. code-block:: python

from oas3 import Spec

# Load the Spec from a file
spec = Spec.from_file('./spec.json')
spec = Spec.from_file('./spec.yml')

# Load the Spec from a URL
spec = Spec.from_url('')

# Load the Spec from a python native dictionary
spec = Spec.from_dict(spec_dict)

# A spec that is sufficiently loaded (i.e. valid OAS3) can now be dumped
0.1.0 2018-10-01

- Pre-alpha release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oas3-0.1.13.tar.gz (64.7 kB view hashes)

Uploaded source

Built Distribution

oas3-0.1.13-py3.7.egg (19.4 kB view hashes)

Uploaded 3 7

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