Allow return type of endpoint to be response model #5216
commit
ba4fc8e9
Allow endpoint return type define the response_model
13a34179
Added some tests
19a6898c
Created seperate util function for getting returntype of function
8a07b01b
Small refactor due to mypy
6c31868e
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1e03b365
forgot to format
7f316358
Merge branch 'allow_return_type_of_endpoint_to_be_response_model' of …
d6efeb64
Fixed tests for python < 3.9
7411905d
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
d790941e
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub