mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 05:56:38 +08:00
接口参数调整
This commit is contained in:
+4
-16
@@ -3618,14 +3618,8 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
|
||||
"name": "compress",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "压缩质量等级 (low, medium, high),默认为 high",
|
||||
"name": "level",
|
||||
"description": "图片质量 (low, medium, high, origin),默认为 origin",
|
||||
"name": "quality",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
@@ -4404,14 +4398,8 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
|
||||
"name": "compress",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "压缩质量等级 (low, medium, high),默认为 high",
|
||||
"name": "level",
|
||||
"description": "图片质量 (low, medium, high, origin),默认为 origin",
|
||||
"name": "quality",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
|
||||
+4
-16
@@ -3611,14 +3611,8 @@
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
|
||||
"name": "compress",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "压缩质量等级 (low, medium, high),默认为 high",
|
||||
"name": "level",
|
||||
"description": "图片质量 (low, medium, high, origin),默认为 origin",
|
||||
"name": "quality",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
@@ -4397,14 +4391,8 @@
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
|
||||
"name": "compress",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "压缩质量等级 (low, medium, high),默认为 high",
|
||||
"name": "level",
|
||||
"description": "图片质量 (low, medium, high, origin),默认为 origin",
|
||||
"name": "quality",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
|
||||
+4
-12
@@ -3195,13 +3195,9 @@ paths:
|
||||
name: id
|
||||
required: true
|
||||
type: string
|
||||
- description: 是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)
|
||||
- description: 图片质量 (low, medium, high, origin),默认为 origin
|
||||
in: query
|
||||
name: compress
|
||||
type: string
|
||||
- description: 压缩质量等级 (low, medium, high),默认为 high
|
||||
in: query
|
||||
name: level
|
||||
name: quality
|
||||
type: string
|
||||
produces:
|
||||
- application/octet-stream
|
||||
@@ -3669,13 +3665,9 @@ paths:
|
||||
name: id
|
||||
required: true
|
||||
type: string
|
||||
- description: 是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)
|
||||
- description: 图片质量 (low, medium, high, origin),默认为 origin
|
||||
in: query
|
||||
name: compress
|
||||
type: string
|
||||
- description: 压缩质量等级 (low, medium, high),默认为 high
|
||||
in: query
|
||||
name: level
|
||||
name: quality
|
||||
type: string
|
||||
produces:
|
||||
- application/octet-stream
|
||||
|
||||
Reference in New Issue
Block a user