schemars/docs/_includes/example_v0.md
2024-06-09 19:01:24 +01:00

14 lines
302 B
Markdown

{% capture input %}examples/{{ include.name }}.rs{% endcapture %}
{% capture output %}examples/{{ include.name }}.schema.json{% endcapture %}
```rust
{% include {{ input }} %}
```
<details>
<summary>Click to see the output JSON schema...</summary>
```json
{% include {{ output }} -%}
```
</details>