优化
This commit is contained in:
@@ -773,7 +773,7 @@ paths:
|
||||
properties:
|
||||
code: {type: string}
|
||||
message: {type: string}
|
||||
data: {$ref: '#/components/schemas/WeightPalletSnapshotPage'}
|
||||
data: {$ref: '#/components/schemas/WeightPalletOptionPage'}
|
||||
'403': {description: 无入库测量查看或称重编辑权限}
|
||||
/api/platform/v1/first-leg/inbounds/{inboundId}/weight-results:
|
||||
post:
|
||||
@@ -1297,7 +1297,7 @@ components:
|
||||
palletType: {type: string}
|
||||
capacityCbm: {type: number, format: double, minimum: 0.0001}
|
||||
tareWeightKg: {type: number, format: double, minimum: 0, multipleOf: 0.001}
|
||||
WeightPalletSnapshotPage:
|
||||
WeightPalletOptionPage:
|
||||
type: object
|
||||
required: [records, page, size, total, pages]
|
||||
properties:
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ class PlatformInboundMeasurementControllerContractTest {
|
||||
.contains("name: keyword")
|
||||
.contains("maximum: 100")
|
||||
.contains("maxItems: 100")
|
||||
.contains("data: {$ref: '#/components/schemas/WeightPalletSnapshotPage'}");
|
||||
.contains("data: {$ref: '#/components/schemas/WeightPalletOptionPage'}");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user