Open kvskranthikumar opened 4 years ago
Using below cmd - swagger-combine config.json -o combinedSchema.json
I am able to access the swagger JSON directly but when added that in the config.json, I am getting an error as "socket hang up".
Config.json content -
{ "swagger": "2.0", "info": { "title": "Basic Swagger Combine Example", "version": "1.0.0" }, "apis": [ { "url": "http://testsite:7000/Products/swagger/v1/swagger.json" }, { "url": "http://testsite:7000/Planograms/swagger/v1/swagger.json" }, { "url": "http://testsite:7000/Floorplans/swagger/v1/swagger.json" } ] }
Using below cmd - swagger-combine config.json -o combinedSchema.json
I am able to access the swagger JSON directly but when added that in the config.json, I am getting an error as "socket hang up".
Config.json content -