This tool aims to convert an OpenAPI 3 spec to its corresponding OMG equivalent. Not all features are supported, and some assumptions have been made. Please read the caveats section to understand these assumptions.
result = openapi2omg convert spec: openApiSpec properties: {"serverIndex": 0}
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
OMG 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
related:
MIT License
Content type
Image
Digest
Size
38.9 MB
Last updated
about 7 years ago
docker pull microservices/openapi2omg