✨ Add support for function return type annotations to declare the `response_model` #1436
:tada: Use function return type annotation as response_model
17e48787
uriyyo
closed this 4 years ago
uriyyo
reopened this 1 year ago
uriyyo
force pushed
from
b2aa3593
to
17e48787
1 year ago
Merge remote-tracking branch 'fork/master'
ccc0f407
Update impl
1d6161cf
Fix tests
8c4cf25d
Add ability to set response_model to None
685f4027
Merge branch 'master' into master
01640c4e
yezz123
approved these changes
on 2022-11-05
uriyyo
commented
on 2022-11-06
Merge branch 'master' into master
3b3d039c
✅ Add lots of tests to cover corner cases
6a12fc51
📝 Update all the docs for return types and response_model
fe9c95c1
tiangolo
changed the title 🎉 Use function return type annotation as response_model ✨ Add support for function return type annotations to declare the `response_model` 1 year ago
tiangolo
merged
d0573f57
into master 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub