fix(firstleg): validate public port schedule queries with zero scope
This commit is contained in:
@@ -16,7 +16,7 @@ import java.util.List;
|
||||
public final class PortScheduleDtos {
|
||||
private PortScheduleDtos() {}
|
||||
|
||||
public record Query(@Positive Long customerId, @Positive Long oceanBookingId,
|
||||
public record Query(@Min(0) Long customerId, @Positive Long oceanBookingId,
|
||||
@Positive Long containerBookingId, Boolean expired,
|
||||
@Size(max = 128) String keyword, @Min(1) long page,
|
||||
@Min(1) @Max(200) long size) {
|
||||
|
||||
Reference in New Issue
Block a user