test(firstleg): harden pallet option page contract
This commit is contained in:
@@ -20,6 +20,10 @@ class PalletOpenApiContractTest {
|
||||
.contains("maximum: 100")
|
||||
.contains("maxItems: 100")
|
||||
.contains("PalletSnapshotPageResponse:")
|
||||
.contains("page: { oneOf:")
|
||||
.contains("size: { oneOf:")
|
||||
.contains("total: { oneOf:")
|
||||
.contains("pages: { oneOf:")
|
||||
.contains("required: [palletId, palletCode, palletType, capacityCbm, tareWeightKg]")
|
||||
.contains("additionalProperties: false")
|
||||
.doesNotContain("tenantId:")
|
||||
|
||||
Reference in New Issue
Block a user