Skip to main content

OpenAPI specification tools for analyzing, updating, and generating a CLI.

Project description

openapi-spec-tools

Welcome to OpenAPI specification (OAS) tools!

This is a collection of tools for using OpenAPI specifications. The OpenAPI community has a plethora of tools, and this is intended to supplement those. The tools here provide functionality that has not been readily available elsewhere.

OAS

The oas script provides a tool for analyzing and modifying an OpenAPI spec. See OAS.md for more info.

CLI Generation

The cli-gen tool allows users to create a user-friendly CLI using the OpenAPI spec and a layout file. The layout file provides the CLI structure and refers to the OpenAPI spec for details of operations. LAYOUT.md has more details about the layout file, and the CLI_GEN.md has more info about CLI generation.

See the examples in examples/ for some more complete works.

client.mk

The client.mk file is an example of a Makefile to invoke the OpenAPI generator via a container. The file can be copied/modified to be invoked with an OpenAPI specfication (other than openapi.yaml) and a real package name. For a more complete list of generator options, look at the OpenAPI generator usage documentation.

Contributing

The DEVELOPMENT.md has more information about getting setup as a developer.

The TODO.md has some ideas where this project can be improved and expanded -- please add your ideas here, or email Rick directly (rickwporter@gmail.com).

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

openapi_spec_tools-0.2.0.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openapi_spec_tools-0.2.0-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file openapi_spec_tools-0.2.0.tar.gz.

File metadata

  • Download URL: openapi_spec_tools-0.2.0.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for openapi_spec_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7b83855d5b522ff4863b7aff3adae02ef2015d21055de24b8a74b82a47f98eeb
MD5 45b90b85600cc755def405f6c67df1f0
BLAKE2b-256 b0767aa632dae732bcc33e8a9b6b70e182e801314b8956d9d9f24dad7649b8c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for openapi_spec_tools-0.2.0.tar.gz:

Publisher: pypi_publish.yaml on rickwporter/openapi-spec-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openapi_spec_tools-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openapi_spec_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 113468d85d0e40c4a541cb6192080911c4294d50e23278575d2039ead8b0da1e
MD5 9aa584106dc663a179e90cbf54daa376
BLAKE2b-256 9f1106a7672d215466f28b59d74fcf3234c819dac9f1a42cbf6fd2d6a6a1e872

See more details on using hashes here.

Provenance

The following attestation bundles were made for openapi_spec_tools-0.2.0-py3-none-any.whl:

Publisher: pypi_publish.yaml on rickwporter/openapi-spec-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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