Replies: 3 comments 3 replies
-
Seems like an issue with Swagger UI https://fastapi.tiangolo.com/tutorial/request-files/#multiple-file-uploads (the note)
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the help @ArcLightSlavik ! 🍰 @A-Amani I think this was solved in a recent version of Swagger UI 🎉
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs. |
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
-
First check
I want to make uploading a collection of files optional, by
some_random_param: List[UploadFile] = File(None)
.if i try the api out by clicking the
send empty value
box, i got a 422 complaining that:if i untick the box but select no files, i got a 400 complaining that
there was an error parsing the body
please help, thanks!
Beta Was this translation helpful? Give feedback.
All reactions