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

Feature request: Add support for headers parameters in OpenAPI schema #3661

Closed
2 tasks done
leandrodamascena opened this issue Jan 22, 2024 · 3 comments · Fixed by #3687
Closed
2 tasks done

Feature request: Add support for headers parameters in OpenAPI schema #3661

leandrodamascena opened this issue Jan 22, 2024 · 3 comments · Fixed by #3687
Assignees
Labels
event_handlers feature-request feature request help wanted Could use a second pair of eyes/hands openapi-schema

Comments

@leandrodamascena
Copy link
Contributor

leandrodamascena commented Jan 22, 2024

Use case

Original discussion: #3609

OpenAPI supports Headers parameters and we must add support for this!

https://swagger.io/docs/specification/describing-parameters/

Header Parameters

An API call may require that custom headers be sent with an HTTP request. OpenAPI lets you define custom request headers as in: header parameters.

Solution/User Experience

Add Header in https://github.com/aws-powertools/powertools-lambda-python/blob/develop/aws_lambda_powertools/event_handler/openapi/params.py

Alternative solutions

No response

Acknowledgment

@leandrodamascena
Copy link
Contributor Author

Assigned to @rubenfonseca

@leandrodamascena leandrodamascena changed the title Feature Request: Add support for cookie headers and parameters in OpenAPI schema Feature Request: Add support for cookie and headers parameters in OpenAPI schema Jan 22, 2024
@leandrodamascena leandrodamascena changed the title Feature Request: Add support for cookie and headers parameters in OpenAPI schema Feature request: Add support for cookie and headers parameters in OpenAPI schema Jan 22, 2024
@leandrodamascena leandrodamascena added event_handlers help wanted Could use a second pair of eyes/hands openapi-schema labels Jan 22, 2024
@leandrodamascena leandrodamascena changed the title Feature request: Add support for cookie and headers parameters in OpenAPI schema Feature request: Add support for headers parameters in OpenAPI schema Feb 1, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Coming soon in Powertools for AWS Lambda (Python) Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 1, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 2, 2024

This is now released under 2.33.0 version!

@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Feb 2, 2024
@leandrodamascena leandrodamascena moved this from Coming soon to Shipped in Powertools for AWS Lambda (Python) Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event_handlers feature-request feature request help wanted Could use a second pair of eyes/hands openapi-schema
Projects
Status: Shipped
2 participants