My Swagger
"/users":
post:
description: "ํ์ ๊ฐ์
(์ ์ ์์ฑ)"
tags:
- Users
consumes: [
"multipart/form-data",
"application/x-www-form-urlencoded"
]
produces:
- application/json
parameters:
-
name: email
in: formData
required: true
description: "๊ฐ์
์ด๋ฉ์ผ"
type: string
-
name: password
in: formData
required: true
description: "๊ฐ์
๋น๋ฐ๋ฒํธ"
type: string
-
name: gender
in: formData
required: true
description: "์ฑ๋ณ 'm' or 'f'"
type: string
-
name: location
in: formData
required: true
description: "์ง์ญ ์ ๋ณด '์์ธ', '์ธ์ฒ', '๊ฒฝ๊ธฐ๋'..."
type: string
-
name: name
in: formData
required: true
description: "์ด๋ฆ"
type: string
-
name: age
in: formData
required: true
description: "๋์ด"
type: integer
-
name: avatar
in: formData
required: true
description: "ํ๋กํ ์ฌ์ง"
type: file
responses:
200:
description: OK
Issue
multipart/form-data request is sent without any boundaries or multipart information. so parameters are messed up. see below

My app server accepts like this.
Parameters: {"email: [email protected]\npassword: asdfasdf\ngender: m\nlocation: seoul\nname: aaaa\nage: 55\navatar: C:\\fakepath\\images-2.jpg"=>"[FILTERED]"}
I read #666 and #599 but i can't find any solution.
Is there any progress in this issue?
Thanks for reporting.
Try operation and file uploads have some bugs. I think we should refactor the file upload piece.
Tried swagger for the first time today and immediately hit this bug. It affects the swagger UI and also the client code generators that I tried; C# and typescript node.
I have made some improvements in file parameters. Please check to see if it has fixed this issue. Thanks!
Most helpful comment
Thanks for reporting.
Try operation and file uploads have some bugs. I think we should refactor the file upload piece.