oxidecomputer / typify

compiler from JSON Schema into idiomatic Rust types
Apache License 2.0
418 stars 57 forks source link

Add support for the `x-rust-type` extension #584

Closed ahl closed 4 months ago

ahl commented 4 months ago

This adds support for the x-rust-type extension. When we see this extension in types we can (depending on the configuration settings) try to use the type from the particular crate rather than generating the type. This is particularly useful for types with any of the following properties: