maxdome / swagger-combine

Combines multiple Swagger schemas into one dereferenced schema.
MIT License
132 stars 36 forks source link

fix: filters down api definitions if schemas are filtered #47

Closed maritz closed 6 years ago

maritz commented 6 years ago

This fixes an issue where api definitions are mapped to the wrong schema, because the index of the api definition is used to map it to the index of the schema. For example when the first defined api is down, the schema for the second service would still be mapped to the first and thus receive the wrong basePath (and other options).