Added schema for GET /api/poetry endpoint
This commit is contained in:
parent
2028dd9419
commit
a41c684a74
@ -50,5 +50,8 @@ class User(BaseModel):
|
|||||||
class UserInDB(User):
|
class UserInDB(User):
|
||||||
hashed_password: str
|
hashed_password: str
|
||||||
|
|
||||||
|
class Poem(BaseModel):
|
||||||
|
title: str
|
||||||
|
text: str
|
||||||
|
author: str
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user