Skip to main content

The OpenAPI Artifact Generator Python Package

Project description

OpenAPIArt

The OpenAPIArt (OpenAPI Artifact Generator) python package does the following:

  • bundles individual yaml files into a single file
  • post process x- extensions
  • validates the bundled openapi.yaml file
  • creates an enhanced ux python file containing all the classes generated from the bundled openapi.yaml file

Getting started

Install the package

pip install openapiart

Generate artifacts from OpenAPI models

import openapiart

# the following command produces these artifacts
# openapi.yaml
# openapi.json
# openapi.html
# test.py
openapiart.OpenApiArt(api_files=['./tests/api/api.yaml'], python_package_name='test')

Specifications

This repository is based on the OpenAPI specification which is a standard, language-agnostic interface to RESTful APIs.

Modeling guide specific to this package

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 Distribution

openapiart-0.0.6.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

openapiart-0.0.6-py2.py3-none-any.whl (21.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file openapiart-0.0.6.tar.gz.

File metadata

  • Download URL: openapiart-0.0.6.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for openapiart-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b6a12cb12498c644f94e17657df36d14a39430b714d25ff36479036d1f42fe50
MD5 d05fd3c500462ff6bf1e48850df5c292
BLAKE2b-256 0f9e837d3c45c355459b2b5767ab58760ac938569b21e73ba9f4b6bc3903a117

See more details on using hashes here.

File details

Details for the file openapiart-0.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: openapiart-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for openapiart-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea7529bc6e81c6538eef9457a67b400ae79deb3aff84cc0e0d03a27a4fc8f278
MD5 27dd1934106d82d5083e907f44be028d
BLAKE2b-256 9aef925a64a2e292c7c226192c3c5c436486f000c1343d99483abbd406512ed3

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