优化
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
openapi: 3.0.3
|
||||
info:
|
||||
title: 共用车次准备与拼车连续处理
|
||||
title: 外接登记与整车履约衔接
|
||||
version: 1.0.0
|
||||
security:
|
||||
- bearerAuth: []
|
||||
@@ -63,19 +63,3 @@ paths:
|
||||
components:
|
||||
securitySchemes:
|
||||
bearerAuth: {type: http, scheme: bearer, bearerFormat: JWT}
|
||||
schemas:
|
||||
Prepare:
|
||||
type: object
|
||||
required: [dispatchNos, idempotencyKey]
|
||||
properties:
|
||||
tripNo: {type: string, nullable: true, maxLength: 64}
|
||||
recordVersion: {type: integer, format: int64, nullable: true, minimum: 0}
|
||||
plan:
|
||||
allOf:
|
||||
- {$ref: './fleet-trips-v1.yaml#/components/schemas/Create'}
|
||||
nullable: true
|
||||
description: 仅新建提交,实际创建幂等键使用外层idempotencyKey。
|
||||
vehicleId: {type: string, nullable: true}
|
||||
driverId: {type: string, nullable: true}
|
||||
dispatchNos: {type: array, minItems: 1, maxItems: 100, uniqueItems: true, items: {type: string, maxLength: 64}}
|
||||
idempotencyKey: {type: string, minLength: 8, maxLength: 128}
|
||||
|
||||
Reference in New Issue
Block a user