Attribute Macro api_v2_schema_struct

#[api_v2_schema_struct]
Expand description

Converts your struct to support deserializing from an OpenAPI v2 Schema object (example). This adds the necessary fields (in addition to your own fields) and implements the Schema trait for parsing and codegen.