-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
software.amazon.awscdk.services.apigateway.SpecRestApi: adjust method to add integration #29604
Comments
Or it would be nice to change the openapi schema in CDK. But then it would be very nice that AWSIntegration could be represented as OPEN API schema integration:
|
Thanks for the feature request. Linking related documentation for reference: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.SpecRestApi.html As mentioned there:
So I'm not sure this feature request could be considered, unless I'm missing or misunderstanding something. |
@tim-finnigan Yes, you cannot add. But my question is not about adding but about changed. So for example: through openapi schema you define a method X for URI Y. With CDK you only change/add an integration to the method X for URI Y. If that is not possible it would be nice if you could define the integration within CDK and you could have a openapi schema json/yaml representation of that. That way you can inject this part into the openapi schema before creating the SpecRestApi. |
Describe the feature
I would like to create an API by an openapi schema. But i want to change one method of the API to add an integration to it. I don't want to change the openapi schema (using AWS tags to configure the integration!).
Currently this is impossible to do? right?
Use Case
I want to add the integration on POST method in CDK itself.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
latest
Environment details (OS name and version, etc.)
linux
The text was updated successfully, but these errors were encountered: