Skip to content

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.

License

Notifications You must be signed in to change notification settings

rnavagamuwa/SwaggerJsonMerger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages