schemars icon indicating copy to clipboard operation
schemars copied to clipboard

proposal: `#[schemars(example_value = "blabla")]`

Open liusong1111 opened this issue 2 years ago • 0 comments

I know there is #[schemars(example = "the_module::some_func")], but it's too heavy to use when I just want to annotate one field's example value to a literal.

Please consider it.

liusong1111 avatar Feb 07 '23 07:02 liusong1111