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
- If there are multiple content types available for a given path, the content type
application/jsonshall be preferred if available. Ifapplication/jsonis not available, then an appropriate content type will be chosen arbitrarily - 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/jsonwill be used if available. Ifapplication/jsonis not available, then an appropriate content type will be chosen arbitrarily
todos
related:
- https://github.com/microservices/openmicroservices.org/issues/50
- 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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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.