'allowEmptyValue' for query #11488
-
First Check
Commit to Help
Example Codefrom fastapi import FastAPI, Query
app = FastAPI()
@app.get("/foo")
async def foo(qk: str|None=Query(default='any')) DescriptionFirst of all, thanks a lot for such excellent work by all contributors! I want the Operating SystemLinux Operating System DetailsNo response FastAPI Version0.110.2 Pydantic Version2.7.1 Python Version3.10.13 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I managed to make it work only with openapi customization.
|
Beta Was this translation helpful? Give feedback.
I managed to make it work only with openapi customization.