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_module_name='sample')

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.7.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

openapiart-0.0.7-py2.py3-none-any.whl (21.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: openapiart-0.0.7.tar.gz
  • Upload date:
  • Size: 19.3 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.7.tar.gz
Algorithm Hash digest
SHA256 39013979a77648fe1bf3fd19fa77a81bf2698d59235bb271fc7a0e484be2bec2
MD5 6403fa495a826211649ac90b5fdcdc31
BLAKE2b-256 c4bbdeff43c6834e1860b50a02d59d52536581bb69fa22d35109a15054bca6ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openapiart-0.0.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.1 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.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f090a85dd4c5d1b54d9a305d2954903cf7a6adc24e45074bff9fdd5e0a0e102
MD5 a2af73fb251ff01d0c0be360e14a60d4
BLAKE2b-256 5d51273bcd286bf25befb7b2aef119b686c7c04da135c699d9694d84e096ce65

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