Skip to main content

Module method

Module method 

Source
Expand description

The HTTP methods a Path Item has a dedicated field for.

Structs§

UnnamedMethod
An HTTP method no Path Item field names.

Enums§

Method
An HTTP method that has a dedicated Path Item field. #[non_exhaustive] because OpenAPI 3.2 adds to this and the addition is #[cfg]-gated. Cargo unifies features across a dependency graph, so any crate enabling openapi32 enables it for every crate in the build – and without this attribute that would turn a downstream exhaustive match into a compile error, which is not what “purely additive” is supposed to mean.