Convert Swagger JSON to RAML/YAML

后端 未结 5 1095
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-05 03:02

How do I convert Swagger JSON to RAML/YAML and validate it? I am not looking for a programmatic way, just a one off conversion.

5条回答
  •  遇见更好的自我
    2021-02-05 03:28

    Conversion

    If you are looking to convert from any version Swagger to RAML 0.8 then APITransformer.com can do it for you. We're almost done with RAML 1.0 export. Will release it in a week's time.

    Validation

    The converted description comes out of the same code-gen engine that APIMatic uses to validate an API description before generating SDKs/Client libraries. Therefore, the converted RAML will be validated by default.

    API descriptions in a variety of formats can also be validated via APIMatic's CLI or APIMatic's API

提交回复
热议问题