Add separate docs for v0.8/v1
This commit is contained in:
parent
3150f98fc8
commit
d511d447f7
61 changed files with 1620 additions and 58 deletions
12
docs/_v0/examples/1-derive_jsonschema.md
Normal file
12
docs/_v0/examples/1-derive_jsonschema.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: Deriving JsonSchema
|
||||
parent: Examples
|
||||
nav_order: 1
|
||||
summary: Deriving JsonSchema on a struct and enum.
|
||||
---
|
||||
|
||||
# Deriving JsonSchema
|
||||
|
||||
This is the simplest usage of Schemars. Both types are made to derive `JsonSchema`, and the `schema_for!` macro is used to generate the schema itself.
|
||||
|
||||
{% include example_v0.md name="main" %}
|
Loading…
Add table
Add a link
Reference in a new issue