Do not attempt to generate a response schema for form-only requests

It would probably fail because Schema objects cannot represent files
This commit is contained in:
Cristi Vîjdea
2017-12-15 11:14:47 +01:00
parent e14c102b59
commit f6a535eb45
3 changed files with 5 additions and 5 deletions
+2 -4
View File
@@ -187,8 +187,6 @@ paths:
responses:
'200':
description: ''
schema:
$ref: '#/definitions/Article'
consumes:
- multipart/form-data
tags:
@@ -221,8 +219,8 @@ paths:
required: true
type: file
responses:
'200':
description: success
'201':
description: ''
consumes:
- multipart/form-data
tags: