curl -F bug
See original GitHub issueWhen reporting an issue, please provide the following details:
- swagger-ui version
3.0.10
- a swagger file reproducing the issue
https://github.com/swagger-api/swagger-ui/blob/master/src/core/curlify.js#L21
'/demo/upload': {
  post: {
    responses: {
      200: {
        description: "Success"
      }
    },
    consumes: [
      "multipart/form-data"
    ],
      parameters: [
        {
          type: "string",
          maxLength: 64,
          description: "登录 Auth Token",
          name: "auth",
          in: "formData"
        },
        {
          type: "file",
          description: "要上传的文件",
          name: "file",
          in: "formData",
          'x-mimetype': "image/jpeg, image/png"
        }
      ],
        tags: [
          "demo"
        ]
  }
}

Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
Reporting documentation bugs in curl got easier
File a bug about this page – takes the user directly to a new issue in the github issue tracker with the title...
Read more >curl is at curl.se / Bugs / #1084 curl -f stops after first error
When trying to download a group of files with the -f option stops after the first error. This message appears when a file...
Read more >T228741 REST API examples using `curl -F` are incorrect and ...
REST API examples using `curl -F` are incorrect and can lead to confusing errors. Open, Needs TriagePublic.
Read more >curl -F what does it mean? php instagram - Stack Overflow
This causes curl to POST data using the Content-Type ... Issuing a curl -F command issues a http request with form submission data....
Read more >curl.1 the man page
This flag will still allow curl to output and save that content but also to return error 22. This is an alternative option...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

file upload is now ok.
Okay, closing this one as fixed then.