Replies: 2 comments
-
Duplicate of #620. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @cgarciae for reporting back and closing the issue 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @tiangolo! I've been wondering why FastAPI doesn't use the function's return
->
signature instead of theresponse_model
argument? I think it would be a bit more natural to express the return schema like this:Beta Was this translation helpful? Give feedback.
All reactions