fix: FastAPI 0.89.0 upgrade

With the new 0.89.0 version, FastAPI introduced the possibility of
defining the "response_model" via type annotations for functions.

A "response_model" must inherit from the pydantic "BaseModel" class.

Now we have a couple of places where "starlette.responses.Response"
is annotated as the return type. 🤔

-> Removing those return type annotations...

References:
https://fastapi.tiangolo.com/release-notes/
https://github.com/tiangolo/fastapi/pull/1436

Signed-off-by: moson-mo mo-son@mailbox.org

Merge request reports

Loading