Fast API Tutorial, Part 13: Response Model

preview_player
Показать описание

In this video you'll see a little more about how you can make your documentation even better by adding a response model to your routes. This response model will make your response documentation more descriptive and more easily understood by those seeking to use what you've built.

Рекомендации по теме
Комментарии
Автор

What a great job you have done with these videos, man. Very well explained. I use them to go through the documentation listening to you.
You've become the voide of the FastAPI documentation 😂
Many thanks!

Keep it up!!

benain
Автор

I liked the video and the explanation. Thank you!

fatmasliti
Автор

Clean and Clear!! Thanks very much for creating this.

hackers
Автор

you're great man, to the point...

thbatman
Автор

1 validation error for slateral
response
value is not a valid dict (type=type_error.dict)

sainathvinnakota
Автор

I think, the problem was posted in the apple boy youtube channel

smikeybros
Автор

3 validation errors for UserModelOut
response -> name
field required (type=value_error.missing)
response -> email
field required (type=value_error.missing)
response -> phone
field required (type=value_error.missing)


I have got this error --> Internal Server Error
for this:
class UserBaseModel(BaseModel):
name:str
email:str
phone:int


class UserModelOut(UserBaseModel):
pass
class Config():
orm_mode = True

# defining it for response model --> but not working
class UserModelIn(UserBaseModel):
password:str
# user_blog:List[BlogModel]=[]

appleboy