-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can no longer upload file using multipart file upload #5997
Comments
@travishaagen Hi Travis, thanks for reporting this issue! This is indeed a regression in the most recent release, and will be fixed in the next release. |
What's the timeline for release? |
tim-lai
added a commit
to tim-lai/swagger-ui
that referenced
this issue
May 14, 2020
oas3 - files oas2 - file
tim-lai
added a commit
that referenced
this issue
May 14, 2020
Pentusha
added a commit
to Pentusha/swagger-ui
that referenced
this issue
May 27, 2020
* 'master' of github.com:swagger-api/swagger-ui: (37 commits) release: v3.25.4 chore(package): bump swagger-client to 3.10.4 version fix: entries as property name (swagger-api#6025) release: v3.25.3 housekeeping: update release-it config (swagger-api#6009) housekeeping: bump swagger-client version with package-lock (swagger-api#6008) housekeeping: update dev-e2e-cypress-open script name (swagger-api#6005) fix: jsonSchemaComponent file/files (swagger-api#5997) (swagger-api#6000) fix: curl array support within multipart/form-data (swagger-api#3838) (swagger-api#5999) release: v3.25.2 bug: remove clearValidation from onTryoutClick (swagger-api#5955) ft: JsonSchema components are now ImmutableJS compliant (swagger-api#5952) release: v3.25.1 housekeeping: revert @release-it/conventional-changelog version (swagger-api#5976) housekeeping: add missing conventional-changelog devDeps (swagger-api#5975) docs: update plugin api component for failSilently (swagger-api#5953) housekeeping: `npm audit fix` (swagger-api#5948) housekeeping: prevent log warning for missing getComponent in production fix(docker-image): send relative HTTP 301s from within container (swagger-api#5409) support for supportedSubmitMethods property in react component (swagger-api#5376) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Q&A
Content & configuration
Example Swagger/OpenAPI definition:
Describe the bug you're encountering
When you choose a file to upload, the UI mistakenly thinks that there is a validation error and will prevent execution of the request.
To reproduce...
Configure an operation parameter as shown in the JSON above.
Expected behavior
Choosing a file should allow the request to be executed. This problem is not present in Swagger UI version
3.24.3
.Screenshots
The text was updated successfully, but these errors were encountered: