The presence of the main JSON file
{"swaggerVersion":"1.2", "apiVersion":"1.0", "apis":[{"path":"/api1"},{"path":"/api2"},{"path":"/api3"},{"path":"/api4"}]}
and JSON files for each of the 4 APIs that work well with the Swagger library.
But when I tried to put all this into a single JSON file, like
{"swaggerVersion":"1.2", "apiVersion":"1.0", "apis":[{<api1 json file contents>},{<api2 json file contents>},{<api3 json file contents>},{<api4 json file contents>}]}
it did not work.
How to properly combine multiple Swagger v. Files 1.2 in one file?
source share