优化
This commit is contained in:
@@ -255,7 +255,7 @@ paths:
|
||||
file:
|
||||
type: "string"
|
||||
format: "binary"
|
||||
description: "真实JPG/PNG,非空,最大10MiB;与独立绑定命令使用不同请求键。"
|
||||
description: "真实JPG/PNG,司机驾驶证(LOADING_SCENE)也支持PDF,非空,最大10MiB;与独立绑定命令使用不同请求键。"
|
||||
"/api/platform/v1/last-leg/fleet/owned-business/{dispatchNo}/photos/{slot}":
|
||||
parameters:
|
||||
-
|
||||
@@ -334,6 +334,8 @@ paths:
|
||||
schema:
|
||||
type: "string"
|
||||
format: "binary"
|
||||
"application/pdf":
|
||||
schema: { type: string, format: binary }
|
||||
"image/png":
|
||||
schema:
|
||||
type: "string"
|
||||
@@ -642,6 +644,7 @@ components:
|
||||
enum:
|
||||
- "image/jpeg"
|
||||
- "image/png"
|
||||
- "application/pdf"
|
||||
sizeBytes:
|
||||
type: "string"
|
||||
pattern: "^[1-9][0-9]*$"
|
||||
|
||||
Reference in New Issue
Block a user