Skip to content

Commit

Permalink
More fields need to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallb committed Nov 10, 2021
1 parent 4d264b6 commit 6b1777e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8251,20 +8251,24 @@ components:
type: string
minLength: 0
readOnly: true
nullable: true
example: 'Your item was delivered in or at the mailbox at 9:10 am on March'
description: carrier status description
ship_date:
allOf:
- $ref: '#/components/schemas/date_time'
estimated_delivery_date:
nullable: true
allOf:
- $ref: '#/components/schemas/date_time'
actual_delivery_date:
nullable: true
allOf:
- $ref: '#/components/schemas/date_time'
exception_description:
type: string
readOnly: true
nullable: true
minLength: 0
description: Exception description
events:
Expand All @@ -8281,9 +8285,6 @@ components:
description: A track event
required:
- occurred_at
- city_locality
- state_province
- postal_code
additionalProperties: false
properties:
occurred_at:
Expand All @@ -8305,32 +8306,38 @@ components:
city_locality:
type: string
readOnly: true
nullable: true
example: AUSTIN
minLength: 0
description: City locality
state_province:
type: string
readOnly: true
nullable: true
example: TX
minLength: 2
description: State province
postal_code:
type: string
readOnly: true
nullable: true
example: 78756
minLength: 0
description: Postal code
country_code:
nullable: true
allOf:
- $ref: '#/components/schemas/country_code'
company_name:
type: string
readOnly: true
nullable: true
example: Stamps.com
minLength: 0
description: Company Name
signer:
type: string
nullable: true
minLength: 0
readOnly: true
description: Signer information
Expand All @@ -8341,12 +8348,14 @@ components:
latitude:
type: number
format: double
nullable: true
minimum: -90
maximum: 90
description: Latitude coordinate of tracking event.
longitude:
type: number
format: double
nullable: true
minimum: -180
maximum: 180
description: Longitude coordinate of tracking event.
Expand Down

0 comments on commit 6b1777e

Please sign in to comment.