You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenAPI specification expects security schemes to define what type of authentication that API will support and then customers can define the operations that will use that authentication or even whether all operations will use the same authentication.
When using this code, the OpenAPI utility should validate the security defined in operation level and throw an exception as it is a schema validation error. But this is not happening.
Expected Behaviour
The OpenAPI specification expects
security schemes
to define what type of authentication that API will support and then customers can define the operations that will use that authentication or even whether all operations will use the same authentication.When using this code, the OpenAPI utility should validate the security defined in operation level and throw an exception as it is a schema validation error. But this is not happening.
Current Behaviour
This is currently not being validated and customers receive an error when trying to use the OpenAPI specification.
openapischema
Error:
Code snippet
Possible Solution
No response
Steps to Reproduce
Use this code
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.11
Packaging format used
PyPi
Debugging logs
No response
The text was updated successfully, but these errors were encountered: