Skip to content

Commit 3926c57

Browse files
committed
fixed multiple-file upload spec
1 parent ca4778a commit 3926c57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/specs/file-upload.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ info:
1717
summary: Uploads single file using form-data
1818
requestBody:
1919
content:
20-
application/x-www-form-urlencoded:
20+
multipart/form-data:
2121
schema:
2222
type: object
2323
properties:
@@ -35,7 +35,7 @@ info:
3535
summary: Uploads multiple file using form-data and type as 'array'
3636
requestBody:
3737
content:
38-
application/x-www-form-urlencoded:
38+
multipart/form-data:
3939
schema:
4040
type: object
4141
properties:
@@ -72,7 +72,7 @@ paths:
7272
summary: Uploads single file using form-data
7373
requestBody:
7474
content:
75-
application/x-www-form-urlencoded:
75+
multipart/form-data:
7676
schema:
7777
type: object
7878
properties:
@@ -92,7 +92,7 @@ paths:
9292
summary: Uploads multiple file using form-data and type as 'array'
9393
requestBody:
9494
content:
95-
application/x-www-form-urlencoded:
95+
multipart/form-data:
9696
schema:
9797
type: object
9898
properties:

0 commit comments

Comments
 (0)