Forum Discussion
HKosova
3 years agoSmartBear Alumni (Retired)
OpenAPI does not have special support for AWS signatures. It can only be defined as a genetic Authorization header:
components:
securitySchemes:
awsSigV4:
type: apiKey
in: header
name: Authorization
security:
- awsSigV4: []
But Swagger UI provides requestInterceptor to change outgoing requests, which can be used to calculate the AWS signature similar to how Postman does this. Check out these posts:
How to calculate AWS signature V4 in Swagger before request
SwaggerJS/API Explorer using AWS Sigv4 authentication on Amazon API Gateway
Hope this helps!
Related Content
Recent Discussions
- 23 hours agoankkashyap
- 6 days agoankkashyap