[][src]Crate paperclip_macros

Convenience macros for paperclip.

You shouldn't need to depend on this, because the stuff here is already exposed by the corresponding crates.

Attribute Macros

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.

api_v2_operation

Marker attribute for indicating that a function is an OpenAPI v2 compatible operation.

api_v2_schema

Marker attribute for indicating that an object is an OpenAPI v2 compatible definition.