openapi2oms

A tool to convert an OpenAPI spec to an OMS spec


Keywords
microservices, oms, open-microservice, openapi, openapi3
License
MIT
Install
pip install openapi2oms==0.1.0

Documentation

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. 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

todos

related:

  1. https://github.com/microservices/microservice.guide/issues/50
  2. https://github.com/microservices/microservice.guide/pull/96