Skip to content

Commit 7918dfe

Browse files
committed
Tracking numbers need to be optional to correctly parse the response when a label is a test label with USPS.
1 parent 1243871 commit 7918dfe

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

openapi.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6729,10 +6729,10 @@ components:
67296729
The insurance cost for this package. Add this to the
67306730
`shipment_cost` field to get the total cost.
67316731
tracking_number:
6732-
type: string
6733-
minLength: 1
67346732
readOnly: true
6735-
example: '782758401696'
6733+
nullable: true
6734+
allOf:
6735+
- $ref: '#/components/schemas/tracking_number'
67366736
description: >-
67376737
The tracking number for the package. Tracking number formats
67386738
vary across carriers.
@@ -7046,10 +7046,10 @@ components:
70467046
The insurance cost for this package. Add this to the
70477047
`shipment_cost` field to get the total cost.
70487048
tracking_number:
7049-
type: string
7050-
minLength: 1
70517049
readOnly: true
7052-
example: '782758401696'
7050+
nullable: true
7051+
allOf:
7052+
- $ref: '#/components/schemas/tracking_number'
70537053
description: >-
70547054
The tracking number for the package. Tracking number formats vary
70557055
across carriers.
@@ -7998,6 +7998,7 @@ components:
79987998
field of the shipment to be set.
79997999
tracking_number:
80008000
readOnly: true
8001+
nullable: true
80018002
allOf:
80028003
- $ref: '#/components/schemas/tracking_number'
80038004
description: >
@@ -8336,6 +8337,7 @@ components:
83368337
additionalProperties: false
83378338
properties:
83388339
tracking_number:
8340+
nullable: true
83398341
allOf:
83408342
- $ref: '#/components/schemas/tracking_number'
83418343
status_code:

0 commit comments

Comments
 (0)