Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions