Skip to content

Commit b8a7927

Browse files
committed
Add _id to model example
1 parent f4131e7 commit b8a7927

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class Config:
1212
allow_population_by_field_name = True
1313
schema_extra = {
1414
"example": {
15+
"_id": "066de609-b04a-4b30-b46c-32537c7f1f6e",
1516
"title": "Don Quixote",
1617
"author": "Miguel de Cervantes",
1718
"synopsis": "..."

0 commit comments

Comments
 (0)