Browse Source

📝 Remove note about (now supported) feature from Swagger UI in `docs/en/docs/tutorial/request-files.md` (#2803)

Co-authored-by: Sebastián Ramírez <[email protected]>
pull/4015/head
Greg Gandenberger 4 years ago
committed by GitHub
parent
commit
afe1f69e79
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      docs/en/docs/tutorial/request-files.md

7
docs/en/docs/tutorial/request-files.md

@ -127,13 +127,6 @@ To use that, declare a `List` of `bytes` or `UploadFile`:
You will receive, as declared, a `list` of `bytes` or `UploadFile`s.
!!! note
Notice that, as of 2019-04-14, Swagger UI doesn't support multiple file uploads in the same form field. For more information, check <a href="https://github.com/swagger-api/swagger-ui/issues/4276" class="external-link" target="_blank">#4276</a> and <a href="https://github.com/swagger-api/swagger-ui/issues/3641" class="external-link" target="_blank">#3641</a>.
Nevertheless, **FastAPI** is already compatible with it, using the standard OpenAPI.
So, whenever Swagger UI supports multi-file uploads, or any other tools that supports OpenAPI, they will be compatible with **FastAPI**.
!!! note "Technical Details"
You could also use `from starlette.responses import HTMLResponse`.

Loading…
Cancel
Save