swagger-combine
swagger-combine copied to clipboard
Combines multiple Swagger schemas into one dereferenced schema.
I am currently trying to combine a couple of different swagger files. Now I keep getting ``Name conflict in definitions`` Because some swagger files have the same definitions. Is there...
I'm trying to merge several swagger files from similar APIs. Each swagger file contains the `ping` endpoint having the same OperationID: ` "/ping": { "get": { "operationId": "getPing", ` This...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.6.0 to 13.7.0. Release notes Sourced from validator's releases. 13.7.0 13.7.0 New Features #1706 isISO4217, currency code validator @jpaya17 Fixes and Enhancements #1647 isFQDN: add allow_wildcard option...
_JSON Schema $Ref Parser_ supports bundling schemas as opposed to dereferencing them: https://github.com/BigstickCarpet/json-schema-ref-parser/blob/master/docs/ref-parser.md#bundleschema-options-callback It would be useful if swagger-combine supported this mode of operation as well.
I think a few of the issues that are open could be solved by introducing [open-api-types](https://www.npmjs.com/package/openapi-types) as that will allow for Open API V2 and V3 support. Extensions can be...
OpenAPI supports extension points at a numbed of locations within an OpenAPI specification (see [the docs at swagger.io](https://swagger.io/docs/specification/openapi-extensions/) for further details. I've a pair of OpenAPI files, both with extensions...
Tried to combine two `openapi 3` yaml files and the `securitySchemes` wasn't part of the output. [According to swagger](https://swagger.io/blog/news/whats-new-in-openapi-3-0/) > securityDefinitions were renamed to securitySchemes and moved inside components. Perhaps...
the current strategy ignores `exclude` if `include` exists: https://github.com/maxdome/swagger-combine/blob/master/src/SwaggerCombine.js#L87-L99 It may be confusing if someone has the configuration like this: (include all paths under `/api/products` excpet for `/api/products/{id}/recommendation`) ``` {...
Running the command ``` swagger-combine config.json -o combined.json ``` with the following configuration ``` { "swagger": "2.0", "info": { "title": "Swagger Combine Rename Example", "version": "1.0.0" }, "apis": [ {...