fix(firstleg): allow public sailing schedule dispatch fallback

This commit is contained in:
2026-09-30 17:53:12 +08:00
parent 36a74eb58e
commit 8d9d38ed4c
3 changed files with 6 additions and 5 deletions
@@ -9,7 +9,7 @@ paths:
summary: Query schedules by customer, ocean booking, allocated container or expiry
x-permission: platform:firstleg:port-schedule:list
parameters:
- {name: customerId, in: query, schema: {type: string, pattern: '^[1-9][0-9]*$'}}
- {name: customerId, in: query, schema: {type: string, pattern: '^(0|[1-9][0-9]*)$'}}
- {name: oceanBookingId, in: query, schema: {type: string, pattern: '^[1-9][0-9]*$'}}
- {name: containerBookingId, in: query, schema: {type: string, pattern: '^[1-9][0-9]*$'}}
- {name: expired, in: query, schema: {type: boolean}}
@@ -83,7 +83,7 @@ components:
- observedAt
- expiresAt
properties:
customerId: {type: string, pattern: '^[1-9][0-9]*$'}
customerId: {type: string, pattern: '^(0|[1-9][0-9]*)$'}
oceanBookingId: {type: string, pattern: '^[1-9][0-9]*$'}
containerBookingId: {type: string, nullable: true, pattern: '^[1-9][0-9]*$'}
sourceType: {type: string, enum: [MANUAL, CARRIER, TERMINAL, API]}