Skip to content

OpenAPI 3 feature: Support parameter location "in: cookie" #997

@jannyHou

Description

@jannyHou

Description

Original discussion see: #916 (comment)

Cookie support is not so straightforward. It's a recommended practice to encrypt cookie values using a server-configured secret. We will need a way how to tell @loopback/rest what is this secret, otherwise it won't be able to decode cookie values.

Current workaround:

Throw a helpful error here, explain that cookie parameters are not supported yet and point people to the GH issue tracking this feature.

OpenAPI official reference: https://swagger.io/docs/specification/describing-parameters/#cookie-parameters

Metadata

Metadata

Assignees

No one assigned

    Labels

    RESTIssues related to @loopback/rest package and REST transport in generalfeaturestale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions