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

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions