fix(firstleg): allow public sailing schedule dispatch fallback
This commit is contained in:
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user