Closed
Description
Use case
To use the User Confirmation feature of Bedrock Agents, it requires to set the field "x-requireConfirmation":"ENABLED" in the api schema file like shown in insurance_claims_agent_openapi_schema.json.
I understand that this can be achieved in PowerTools using openapi_extensions.
BedrockAgentResolver does not expose openapi_extensions which is instead exposed by the parent class APIGatewayRestResolver.
Solution/User Experience
When calling a decorator from BedrockAgentResolver, I would like to set the openapi_extension parameter with a dictionary which i can use to customize the generated openapi schema file
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Type
Projects
Status
Shipped