Happy New Year with FastAPI 0.89.0! πŸš€

You can now declare the response model using the function return type annotation. ✨

It will be used for data validation, automatic docs, data filtering (security), etc. πŸ€“

Read more in the docs: https://fastapi.tiangolo.com/tutorial/response-model/

Thanks to Yurii Karabas for the contribution! πŸš€

Response Model - Return Type - FastAPI

FastAPI framework, high performance, easy to learn, fast to code, ready for production

@FastAPI Very helpful change. I alway found it frustrating to declare this twice. πŸ‘