Skip to content

Commit 94eb275

Browse files
authored
Fix Nullables in JSON Spec (#32)
Updates the JSON spec to be in line with the YAML version of the spec w/r/t the `delivery_days` and `estimated_delivery_date` fields in rate requests.
1 parent f0810bb commit 94eb275

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

openapi.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100224,6 +100224,7 @@
100224100224
"delivery_days": {
100225100225
"type": "integer",
100226100226
"format": "int32",
100227+
"nullable": true,
100227100228
"readOnly": true,
100228100229
"minimum": 1,
100229100230
"example": 5,
@@ -100235,6 +100236,7 @@
100235100236
"description": "Indicates if the rate is guaranteed."
100236100237
},
100237100238
"estimated_delivery_date": {
100239+
"nullable": true,
100238100240
"readOnly": true,
100239100241
"allOf": [
100240100242
{
@@ -100786,6 +100788,7 @@
100786100788
"delivery_days": {
100787100789
"type": "integer",
100788100790
"format": "int32",
100791+
"nullable": true,
100789100792
"readOnly": true,
100790100793
"minimum": 1,
100791100794
"example": 5,
@@ -100797,6 +100800,7 @@
100797100800
"description": "Indicates if the rate is guaranteed."
100798100801
},
100799100802
"estimated_delivery_date": {
100803+
"nullable": true,
100800100804
"readOnly": true,
100801100805
"allOf": [
100802100806
{
@@ -105319,6 +105323,7 @@
105319105323
"description": "Indicates if the rate is guaranteed."
105320105324
},
105321105325
"estimated_delivery_date": {
105326+
"nullable": true,
105322105327
"readOnly": true,
105323105328
"allOf": [
105324105329
{
@@ -106302,6 +106307,7 @@
106302106307
"description": "Indicates if the rate is guaranteed."
106303106308
},
106304106309
"estimated_delivery_date": {
106310+
"nullable": true,
106305106311
"readOnly": true,
106306106312
"allOf": [
106307106313
{
@@ -137210,6 +137216,7 @@
137210137216
"description": "Indicates if the rate is guaranteed."
137211137217
},
137212137218
"estimated_delivery_date": {
137219+
"nullable": true,
137213137220
"readOnly": true,
137214137221
"allOf": [
137215137222
{
@@ -137772,6 +137779,7 @@
137772137779
"description": "Indicates if the rate is guaranteed."
137773137780
},
137774137781
"estimated_delivery_date": {
137782+
"nullable": true,
137775137783
"readOnly": true,
137776137784
"allOf": [
137777137785
{
@@ -248903,6 +248911,7 @@
248903248911
"description": "Indicates if the rate is guaranteed."
248904248912
},
248905248913
"estimated_delivery_date": {
248914+
"nullable": true,
248906248915
"readOnly": true,
248907248916
"allOf": [
248908248917
{
@@ -249465,6 +249474,7 @@
249465249474
"description": "Indicates if the rate is guaranteed."
249466249475
},
249467249476
"estimated_delivery_date": {
249477+
"nullable": true,
249468249478
"readOnly": true,
249469249479
"allOf": [
249470249480
{
@@ -250242,6 +250252,7 @@
250242250252
"description": "Indicates if the rate is guaranteed."
250243250253
},
250244250254
"estimated_delivery_date": {
250255+
"nullable": true,
250245250256
"readOnly": true,
250246250257
"allOf": [
250247250258
{
@@ -250804,6 +250815,7 @@
250804250815
"description": "Indicates if the rate is guaranteed."
250805250816
},
250806250817
"estimated_delivery_date": {
250818+
"nullable": true,
250807250819
"readOnly": true,
250808250820
"allOf": [
250809250821
{
@@ -251572,6 +251584,7 @@
251572251584
"description": "Indicates if the rate is guaranteed."
251573251585
},
251574251586
"estimated_delivery_date": {
251587+
"nullable": true,
251575251588
"readOnly": true,
251576251589
"allOf": [
251577251590
{
@@ -252134,6 +252147,7 @@
252134252147
"description": "Indicates if the rate is guaranteed."
252135252148
},
252136252149
"estimated_delivery_date": {
252150+
"nullable": true,
252137252151
"readOnly": true,
252138252152
"allOf": [
252139252153
{
@@ -252885,6 +252899,7 @@
252885252899
"description": "Indicates if the rate is guaranteed."
252886252900
},
252887252901
"estimated_delivery_date": {
252902+
"nullable": true,
252888252903
"readOnly": true,
252889252904
"allOf": [
252890252905
{
@@ -259444,6 +259459,7 @@
259444259459
"description": "Indicates if the rate is guaranteed."
259445259460
},
259446259461
"estimated_delivery_date": {
259462+
"nullable": true,
259447259463
"readOnly": true,
259448259464
"allOf": [
259449259465
{
@@ -259819,6 +259835,7 @@
259819259835
"description": "Indicates if the rate is guaranteed."
259820259836
},
259821259837
"estimated_delivery_date": {
259838+
"nullable": true,
259822259839
"readOnly": true,
259823259840
"allOf": [
259824259841
{
@@ -260379,6 +260396,7 @@
260379260396
"description": "Indicates if the rate is guaranteed."
260380260397
},
260381260398
"estimated_delivery_date": {
260399+
"nullable": true,
260382260400
"readOnly": true,
260383260401
"allOf": [
260384260402
{
@@ -288418,6 +288436,7 @@
288418288436
"description": "Indicates if the rate is guaranteed."
288419288437
},
288420288438
"estimated_delivery_date": {
288439+
"nullable": true,
288421288440
"readOnly": true,
288422288441
"allOf": [
288423288442
{
@@ -288980,6 +288999,7 @@
288980288999
"description": "Indicates if the rate is guaranteed."
288981289000
},
288982289001
"estimated_delivery_date": {
289002+
"nullable": true,
288983289003
"readOnly": true,
288984289004
"allOf": [
288985289005
{
@@ -292838,4 +292858,4 @@
292838292858
"url": "https://www.shipengine.com/docs/",
292839292859
"description": "ShipEngine's documentation is designed to help you start shipping as quickly as possible. With easy-to-follow tutorials, detailed reference docs, and ready-made recipes for common use cases, you'll see real results in no time at all.\n"
292840292860
}
292841-
}
292861+
}

0 commit comments

Comments
 (0)