Module schema

Source
Expand description

Traits used for code and spec generation.

Traitsยง

Apiv2Errors
Represents a OpenAPI v2 error convertible. This is auto-implemented by framework-specific macros:
Apiv2Operation
Represents a OpenAPI v2 operation convertible. This is auto-implemented by framework-specific macros:
Apiv2Schema
Represents a OpenAPI v2 schema object convertible. This is auto-implemented by framework-specific macros:
Schema
Interface for the Schema object.
TypedData
Trait for returning OpenAPI data type and format for the implementor.