Skip to main content

Module operation

Module operation 

Source
Expand description

Operations, parameters, request bodies, and responses.

Structs§

Body
BodyContent
Encoding
Header
OAS Header Object. Distinct from Parameter because headers have a fixed serialization style (no style/explode), and because required carries different semantics here: “documented as always present in the response” rather than “the request must include this”.
Operation
Parameter
Response

Enums§

HttpMethod
HTTP method for an operation. The eight standard verbs plus an Other(String) escape hatch that carries 3.2 additionalOperations methods (e.g. RFC 9205 QUERY) verbatim. Generators that emit against a fixed verb set should match the named variants and either reject Other (with a StageError::Rejected) or pass the string through to a lower-level builder API.
ParameterStyle
ResponseStatus