Browse Source

📝 Add screenshot to body-schema tutorial

pull/11/head
Sebastián Ramírez 6 years ago
parent
commit
dfa067b061
  1. BIN
      docs/img/tutorial/body-schema/image01.png
  2. 4
      docs/tutorial/body-schema.md

BIN
docs/img/tutorial/body-schema/image01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

4
docs/tutorial/body-schema.md

@ -48,6 +48,10 @@ For example, you can use that functionality to pass a <a href="http://json-schem
{!./src/body_schema/tutorial002.py!}
```
And it would look in the `/docs` like this:
<img src="/img/tutorial/body-schema/image01.png">
## Recap
You can use Pydantic's `Schema` to declare extra validations and metadata for model attributes.

Loading…
Cancel
Save