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
This python package DOES NOT create a python package for the generated artifacts.
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.8.tar.gz
(19.8 kB
view hashes)
Built Distribution
Close
Hashes for openapiart-0.0.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c6df4a3b8b59bcc43c98229b0e837a9cf29b31c15d47cf1815f609d90d2392 |
|
MD5 | 2dd0b6cc5edc83ada28611f7da82a592 |
|
BLAKE2b-256 | 1865b12a4e3cf5764416c94f36216be36412cdc44af8662d5082c15a7d9ed263 |