maxdome / swagger-combine

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

Amazon Api gateway integration support #95

Open jlopezjuy opened 4 years ago

jlopezjuy commented 4 years ago

Hello, i have problem trying to combine openapi-yaml because many of yaml files have this configuration: ecurity:

and the error is: swagger-combine openapi.yaml -o combinedSchema.yaml Error parsing /sure-get.yaml bad indentation of a mapping entry at line 22, column 5: x-amazon-apigateway-integration:

Wilcko commented 4 years ago

I ran into a similar issue a few weeks ago. The security definitions have to match exactly. Word for word or it will fail to merge them.