Skip to content

Commit

Permalink
fix[api]: nullable connection schedule (#10107)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhard authored and etsybaev committed Mar 5, 2022
1 parent a0c4909 commit 0ea33a7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 12 deletions.
5 changes: 2 additions & 3 deletions airbyte-api/src/main/openapi/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2797,9 +2797,7 @@ components:
syncCatalog:
$ref: "#/components/schemas/AirbyteCatalog"
schedule:
nullable: true
allOf:
- $ref: "#/components/schemas/ConnectionSchedule"
$ref: "#/components/schemas/ConnectionSchedule"
status:
$ref: "#/components/schemas/ConnectionStatus"
resourceRequirements:
Expand Down Expand Up @@ -2881,6 +2879,7 @@ components:
ConnectionSchedule:
description: if null, then no schedule is set.
type: object
nullable: true
required:
- units
- timeUnit
Expand Down
45 changes: 36 additions & 9 deletions docs/reference/api/generated-api-html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -557,7 +560,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -720,7 +726,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -768,7 +777,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -874,7 +886,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -922,7 +937,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -1190,7 +1208,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -1238,7 +1259,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down Expand Up @@ -1502,7 +1526,10 @@ <h3 class="field-label">Example data</h3>
"memory_limit" : "memory_limit",
"cpu_request" : "cpu_request"
},
"schedule" : "",
"schedule" : {
"units" : 0,
"timeUnit" : "minutes"
},
"prefix" : "prefix",
"name" : "name",
"syncCatalog" : {
Expand Down

0 comments on commit 0ea33a7

Please sign in to comment.