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

Support default x-amazon-apigateway-integration #18

Open
henhal opened this issue Nov 21, 2022 · 1 comment
Open

Support default x-amazon-apigateway-integration #18

henhal opened this issue Nov 21, 2022 · 1 comment

Comments

@henhal
Copy link
Contributor

henhal commented Nov 21, 2022

One annoying thing about the API gateway OpenAPI extensions is that there's no way to supply a default x-amazon-apigateway-integration object, so it has to be repeated for each and every operation even though quite often it will be exactly identical for every operation, e.g.:

      x-amazon-apigateway-integration:
        type: aws_proxy
        httpMethod: POST
        uri: arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:<account-id>:function:<function>/invocations

Would it make sense to add support to this plugin for populating a default x-amazon-apigateway-integration object into each operation? It would make it much simpler to deal with large APIs where each integration is the same.

@yndlingsfar
Copy link
Owner

@henhal do you have an example? I'm afraid I don't quite understand you.

KR
Daniel

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

No branches or pull requests

2 participants