Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon Api gateway integration support #95

Open
jlopezjuy opened this issue Sep 24, 2019 · 1 comment
Open

Amazon Api gateway integration support #95

jlopezjuy opened this issue Sep 24, 2019 · 1 comment

Comments

@jlopezjuy
Copy link

Hello, i have problem trying to combine openapi-yaml because many of yaml files have this configuration:
ecurity:
- bearerAuth: []
x-amazon-apigateway-integration:
uri: "lambda blah blah blah"
passthroughBehavior: "when_no_match"
httpMethod: "POST"
timeoutInMillis: 29000
type: "aws_proxy"

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
Copy link

Wilcko commented Oct 31, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants