Use proper requestBody description of file
This commit is contained in:
@ -4695,6 +4695,17 @@
|
||||
"post": {
|
||||
"description": "",
|
||||
"parameters": [
|
||||
{
|
||||
"content": {
|
||||
"application/octet-stream": {
|
||||
"schema": {
|
||||
"format": "binary",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"in": "requestBody"
|
||||
},
|
||||
{
|
||||
"description": "The type of source image file",
|
||||
"enum": [
|
||||
@ -4709,13 +4720,6 @@
|
||||
"name": "image_format",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"description": "The raw binary contents of the file",
|
||||
"in": "formdata",
|
||||
"name": "file",
|
||||
"required": true,
|
||||
"type": "binary"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
Reference in New Issue
Block a user