UploadFile optional with multiple parameters to API #11719
Unanswered
varshanasi
asked this question in
Questions
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
Open the browser and expected to see an UploadFile option:


Expected to see the above with the image being optional but got the following instead:
My python version was 3.0+ but also tried methods mentioned for other methods but still obtained same output with empty textbox
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.111.0
Pydantic Version
2.7.3
Python Version
3.10.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions