Skip to content

Add support for Cookie Parameter style #6

@baywet

Description

@baywet

Update the ParameterStyle enum to have a new "Cookie" style entry.

https://spec.openapis.org/oas/latest#parameter-style

The serialization/deserialization should already work automatically, but should be tested.

When serializing to earlier versions, an exception should be thrown since that new value cannot be represented in a valid specification.

Additionally, we should ensure serialization/deserialization handles the conditional defaults for the parameter style (depends on the in property). And does NOT emit the property when the value matches the conditional default to avoid redundancy.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions