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:
1 parent
e14c102b59
commit
f6a535eb45
3 files changed
+5
-5
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user