Skip to main content

openapi2oms

This tool aims to convert an OpenAPI 3 spec to its corresponding OMS equivalent. Not all features are supported, and some assumptions have been made. Please read the caveats section to understand these assumptions.

Storyscript

result = openapi2oms convert spec: openApiSpec properties: {"serverIndex": 0}

Caveats

Assumptions

  1. If there are multiple content types available for a given path, the content type application/json shall be preferred if available. If application/json is not available, then an appropriate content type will be chosen arbitrarily
  2. OMS doesn't support multiple responses. As such, the following order of response codes are considered as successful operations: 200, 201, 202, 2XX, 204, default. Furthermore, since multiple content types are not supported, application/json will be used if available. If application/json is not available, then an appropriate content type will be chosen arbitrarily

todos

related:

  1. https://github.com/microservices/openmicroservices.org/issues/50
  2. https://github.com/microservices/openmicroservices.org/pull/96

License

MIT License

Metadata

Release files for openapi2oms 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openapi2oms 0.1.0
File Size Uploaded Provenance Actions
openapi2oms-0.1.0.tar.gz 6.0 kB Without provenance Details for openapi2oms-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for openapi2oms 0.1.0
File Interpreter ABI Platform Actions
openapi2oms-0.1.0-py3.6.egg Legacy Egg format - - Details for openapi2oms-0.1.0-py3.6.egg
openapi2oms-0.1.0-py3-none-any.whl Python 3 none any Details for openapi2oms-0.1.0-py3-none-any.whl

Total release size: 31.5 kB

Release files / openapi2oms-0.1.0.tar.gz

Download URL openapi2oms-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f392cda5e9ab7d8da544e4f7708c3da2fd6d6597e9849d8110f8c8260001391f
BLAKE2b-256 checksum
How to use checksums
f81ca6b6ed8d5da8263fde361b6ff687bb118f8c86cc0dea4c5c353946e32b5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

Release files / openapi2oms-0.1.0-py3.6.egg

Download URL openapi2oms-0.1.0-py3.6.egg
Size 16.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
c41be698c094e05c0e75bbe97554e07669061ab34b813718fa96e8fd66d8fd30
BLAKE2b-256 checksum
How to use checksums
5d4c26bed4224519cb5aee4fce23ac054c5f5dfa2cb05998a3d7edf04cf1f06f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

Release files / openapi2oms-0.1.0-py3-none-any.whl

Download URL openapi2oms-0.1.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4372eabc2dc1b152d09506c2ffc9093ccfe2ea5583285d37885a177b05002a52
BLAKE2b-256 checksum
How to use checksums
af78f0d0c468ee1682a795a53758ccf274355a96d61037adb6fc6cf4e3b306d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

Security for openapi2oms 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page