Skip to content
Discussion options

You must be logged in to vote

Since FastAPI 0.115.0 you can make it working this way:

async def read_query_check(data: NameSchemas = Query()):

Docs: https://fastapi.tiangolo.com/tutorial/query-param-models/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #9662 on June 13, 2023 16:20.