| 1 | use schemars::JsonSchema; |
| 2 | |
| 3 | #[derive(JsonSchema)] |
| 4 | #[schemars(extend(x))] |
| 5 | #[schemars(extend("x"))] |
| 6 | #[schemars(extend("x" = ))] |
| 7 | #[schemars(extend("y" = "ok!", "y" = "duplicated!"), extend("y" = "duplicated!"))] |
| 8 | #[schemars(extend("y" = "duplicated!"))] |
| 9 | pub struct Struct; |
| 10 | |
| 11 | fn main() {} |