Skip to content

Commit

Permalink
Tracking numbers need to be optional to correctly parse the response …
Browse files Browse the repository at this point in the history
…when a label is a test label with USPS.

(cherry picked from commit 444f133)
  • Loading branch information
kendallb committed Mar 27, 2024
1 parent 26b6dab commit 64a2707
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7608,10 +7608,10 @@ components:
The total shipping cost for the specified
comparison_rate_type.
tracking_number:
type: string
minLength: 1
readOnly: true
example: '782758401696'
nullable: true
allOf:
- $ref: '#/components/schemas/tracking_number'
description: >-
The tracking number for the package. Tracking number formats
vary across carriers.
Expand Down Expand Up @@ -7917,10 +7917,10 @@ components:
description: |
The total shipping cost for the specified comparison_rate_type.
tracking_number:
type: string
minLength: 1
readOnly: true
example: '782758401696'
nullable: true
allOf:
- $ref: '#/components/schemas/tracking_number'
description: >-
The tracking number for the package. Tracking number formats vary
across carriers.
Expand Down Expand Up @@ -9188,6 +9188,7 @@ components:
field of the shipment to be set.
tracking_number:
readOnly: true
nullable: true
allOf:
- $ref: '#/components/schemas/tracking_number'
description: >
Expand Down Expand Up @@ -9793,6 +9794,7 @@ components:
additionalProperties: false
properties:
tracking_number:
nullable: true
allOf:
- $ref: '#/components/schemas/tracking_number'
tracking_url:
Expand Down

0 comments on commit 64a2707

Please sign in to comment.