Update doc comments and make SchemaGenerator
available from crate root
This commit is contained in:
parent
fb6e1a5c61
commit
760403e2f5
13 changed files with 150 additions and 74 deletions
|
@ -1,5 +1,4 @@
|
|||
use schemars::Schema;
|
||||
use schemars::{gen::SchemaGenerator, schema_for, JsonSchema};
|
||||
use schemars::{schema_for, JsonSchema, Schema, SchemaGenerator};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
// `int_as_string` and `bool_as_string` use the schema for `String`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue