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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openapi_spec_tools-0.1.1.tar.gz.
File metadata
- Download URL: openapi_spec_tools-0.1.1.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
635b956a3188c28c1464ec8915fa20cdc8e232256de4f69df57ff166e301f4d6
|
|
| MD5 |
3e533dfa64afdfc2c7e76fdd1e8530ef
|
|
| BLAKE2b-256 |
ffe7f8895a4561f7f15e8b76f315dcfe37ba2a7a2feb2d5d80445ba755b3e600
|
Provenance
The following attestation bundles were made for openapi_spec_tools-0.1.1.tar.gz:
Publisher:
pypi_publish.yaml on rickwporter/openapi-spec-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_spec_tools-0.1.1.tar.gz -
Subject digest:
635b956a3188c28c1464ec8915fa20cdc8e232256de4f69df57ff166e301f4d6 - Sigstore transparency entry: 232186230
- Sigstore integration time:
-
Permalink:
rickwporter/openapi-spec-tools@bf7613a33ae60bcd446a1faded6a581a63caf2eb -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/rickwporter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yaml@bf7613a33ae60bcd446a1faded6a581a63caf2eb -
Trigger Event:
release
-
Statement type:
File details
Details for the file openapi_spec_tools-0.1.1-py3-none-any.whl.
File metadata
- Download URL: openapi_spec_tools-0.1.1-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
086ace2825f6e924ea519b80a94dbf9459db53c93b479d89f946fdc7b50b899f
|
|
| MD5 |
3ec44ea917c3a426475d604754dfd0c0
|
|
| BLAKE2b-256 |
0f8b0137446991c0412112163783f8682158f6fe410a8ad212ffdfbb8f335f50
|
Provenance
The following attestation bundles were made for openapi_spec_tools-0.1.1-py3-none-any.whl:
Publisher:
pypi_publish.yaml on rickwporter/openapi-spec-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_spec_tools-0.1.1-py3-none-any.whl -
Subject digest:
086ace2825f6e924ea519b80a94dbf9459db53c93b479d89f946fdc7b50b899f - Sigstore transparency entry: 232186232
- Sigstore integration time:
-
Permalink:
rickwporter/openapi-spec-tools@bf7613a33ae60bcd446a1faded6a581a63caf2eb -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/rickwporter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_publish.yaml@bf7613a33ae60bcd446a1faded6a581a63caf2eb -
Trigger Event:
release
-
Statement type: