rnavagamuwa / SwaggerJsonMerger

This is a simple solution to merge swagger json files. Instead of creating jsons for each APIs this can be used to create a single json for multiple APIs. Host name should be common for all the APIs. This can be simply used in WSO2 API manager.

Home Page:http://www.rnavagamuwa.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a simple solution to merge swagger json files. Instead of creating jsons for each APIs this can be used to create a single json for multiple APIs. Host name should be common for all the APIs. This can be simply used in WSO2 API manager.

Follow bellow steps to merge swagger files.

  1. Build this using mvn clean install command on your linux system
  2. Place all swagger files in /SwaggerJsonMerger/modules/wso2jsonmerger/inputSwagger folder. Swagger files should be named as 0.josn,1.json and 2.json likewise
  3. Execute merger.sh file.
  4. You can find the output swagger file in SwaggerJsonMerger/distribution/swagger.json

About

This is a simple solution to merge swagger json files. Instead of creating jsons for each APIs this can be used to create a single json for multiple APIs. Host name should be common for all the APIs. This can be simply used in WSO2 API manager.

http://www.rnavagamuwa.com

License:Other


Languages

Language:Java 100.0%Language:Shell 0.0%