Closed vincentsarago closed 1 year ago
While the tests pass, I don't think the solution is 👍
Removing the use of Query/Path
and use simple Annotated type means that we are loosing OpenAPI description/title.
I've opened https://github.com/tiangolo/fastapi/pull/9670 to see if we can do something about it
I'm going to move forward with this PR because:
Annotated
seems to be the new default way of doing things in pydantic/fastapi
Possible fix for using Optional Path parameter when multiple routes are defined
ref https://github.com/tiangolo/fastapi/discussions/9278