Update docs for v1
This commit is contained in:
parent
692958353d
commit
91ee3f915c
5 changed files with 34 additions and 27 deletions
|
@ -63,7 +63,7 @@ TABLE OF CONTENTS
|
|||
|
||||
</h3>
|
||||
|
||||
Set on a struct, enum, field or variant to use the given name in the generated schema instead of the Rust name. When used on a struct or enum, the given name will be used as the title for root schemas, and the key within the root's `definitions` property for subschemas.
|
||||
Set on a struct, enum, field or variant to use the given name in the generated schema instead of the Rust name. When used on a struct or enum, the given name will be used as the title for root schemas, and the key within the root's `$defs` property for subschemas.
|
||||
|
||||
If set on a struct or enum with generic type parameters, then the given name may contain them enclosed in curly braces (e.g. `{T}`) and they will be replaced with the concrete type names when the schema is generated.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue