Macro typify::import_types
source · [−]import_types!() { /* proc-macro */ }Expand description
Import types from a schema file. This may be invoked with simply a pathname
for a JSON Schema file (relative to $CARGO_MANIFEST_DIR), or it may be
invoked with a structured form:
import_types!(
schema = "../example.json",
derives = [schemars::JsonSchema],
);