HoS0 / SwaggerMerge

13 stars 8 forks source link

Add yaml support #11

Open odupuy opened 6 years ago

odupuy commented 6 years ago

My original files are Yaml, I need somehow to Jsonize them. Direct Json support in/out would be handy especially with support in the CLI. Thanks for your work

alikh31 commented 6 years ago

Hey @odupuy, as you might have noticed SwaggerMerge does not have a CLI client, the reason is to keep it as simple as possible but there is a package called swagger-merge-cli that is providing CLI client using SwaggerMerge. I would recommend to post an issue there to support Yaml files, I think it is quite a simple chenge. You can also use any yaml parser package to parse your files to json before passing to SwaggerMerge.