schemars 1.2.1

Generate JSON Schemas from Rust code
Documentation
1
2
3
4
5
6
error: Expected a `fn(&mut Schema)` or other value implementing `schemars::transform::Transform`, found `&str`.
       Did you mean `#[schemars(transform = x)]`?
 --> tests/ui/transform_str.rs:4:24
  |
4 | #[schemars(transform = "x")]
  |                        ^^^