Skip to content

Commit

Permalink
There is already a type for carrier code so it should be used and NOT…
Browse files Browse the repository at this point in the history
… a string!

(cherry picked from commit 8ea157a)
  • Loading branch information
kendallb committed Mar 27, 2024
1 parent 87b4a85 commit c7af338
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5744,8 +5744,13 @@ components:
- $ref: '#/components/schemas/se_id'
description: A string that uniquely identifies the carrier
carrier_code:
readOnly: true
allOf:
- $ref: '#/components/schemas/se_id'
- $ref: '#/components/schemas/carrier_code'
description: >
The [shipping
carrier](https://www.shipengine.com/docs/carriers/setup/) who will
ship the package, such as `fedex`, `dhl_express`, `stamps_com`, etc.
service_code:
type: string
minLength: 1
Expand Down Expand Up @@ -10967,10 +10972,14 @@ components:
readOnly: true
description: Indicates if rate is trackable
carrier_code:
type: string
readOnly: true
minLength: 1
description: carrier code
allOf:
- $ref: '#/components/schemas/carrier_code'
description: >
The [shipping
carrier](https://www.shipengine.com/docs/carriers/setup/) who
will ship the package, such as `fedex`, `dhl_express`,
`stamps_com`, etc.
carrier_nickname:
type: string
readOnly: true
Expand Down

0 comments on commit c7af338

Please sign in to comment.