Skip to content

Feature request: Add support for cookie parameters in OpenAPI schema #3691

@leandrodamascena

Description

@leandrodamascena

Use case

Original discussion: #3609

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

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

Cookie Parameters

Operations can also pass parameters in the Cookie header, as Cookie: name=value. Multiple cookie parameters are sent in the same header, separated by a semicolon and space.

Solution/User Experience

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

Alternative solutions

No response

Acknowledgment

Metadata

Metadata

Type

No type

Projects

Status

Working on it

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions