[][src]Attribute Macro paperclip_macros::api_v2_schema_struct

#[api_v2_schema_struct]

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.