Skip to content

Commit

Permalink
null value
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohansong committed Dec 20, 2024
1 parent d14cffb commit 13f2cb6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# x-release-please-start-version
VERSION=0.14.1
VERSION=0.14.1-dev
# x-release-please-end
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,5 @@ private static boolean isObjectWithSubFields(final Field field) {
return field.getType().equals(JsonSchemaType.OBJECT) && field.getSubFields() != null
&& !field.getSubFields().isEmpty();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,5 @@ private static boolean isObjectWithSubFields(final Field field) {
return field.getType().equals(JsonSchemaType.OBJECT) && field.getSubFields() != null
&& !field.getSubFields().isEmpty();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ definitions:
stream_descriptor:
"$ref": "#/definitions/StreamDescriptor"
stream_state:
"$ref": "#/definitions/AirbyteStateBlob"
anyOf:
- "$ref": "#/definitions/AirbyteStateBlob"
- type: null
AirbyteGlobalState:
type: object
additionalProperties: true
Expand Down Expand Up @@ -524,22 +526,22 @@ definitions:
items:
type: string
generation_id:
description:
description:
"Monotically increasing numeric id representing the current generation of a stream. This id can be shared across syncs.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
minimum_generation_id:
description:
description:
"The minimum generation id which is needed in a stream. If it is present, the destination will try to delete the data that are part of a generation lower than this property.
If the minimum generation is equals to 0, no data deletion is expected from the destiantion
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
sync_id:
description:
description:
"Monotically increasing numeric id representing the current sync id. This is aimed to be unique per sync.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
Expand Down Expand Up @@ -660,12 +662,12 @@ definitions:
OAuth specific blob. Pertains to the fields defined by the connector relating to the OAuth flow.
type: object
additionalProperties: true
required:
required:
- consent_url
- access_token_url
- extract_output
properties:
consent_url:
consent_url:
type: string
description: |-
The OAuth Specific string URL string template to initiate the authentication.
Expand All @@ -675,7 +677,7 @@ definitions:
{
"consent_url": "https://domain.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}"
}
scope:
scope:
type: string
description: |-
The OAuth Specific string of the scopes needed to be grant for authenticated user.
Expand All @@ -684,7 +686,7 @@ definitions:
{
"scope": "user:read user:read_orders workspaces:read"
}
access_token_url:
access_token_url:
type: string
description: |-
The OAuth Specific URL templated string to obtain the `access_token`, `refresh_token` etc.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,24 +525,24 @@ definitions:
items:
type: string
generation_id:
description:
description:
"Monotically increasing numeric id representing the current generation of a stream. This id can be shared across syncs.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
minimum_generation_id:
description:
description:
"The minimum generation id which is needed in a stream. If it is present, the destination will try to delete the data that are part of a generation lower than this property.
If the minimum generation is equals to 0, no data deletion is expected from the destiantion
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
sync_id:
description:
description:
"Monotically increasing numeric id representing the current sync id. This is aimed to be unique per sync.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
Expand Down Expand Up @@ -715,12 +715,12 @@ definitions:
OAuth specific blob. Pertains to the fields defined by the connector relating to the OAuth flow.
type: object
additionalProperties: true
required:
required:
- consent_url
- access_token_url
- extract_output
properties:
consent_url:
consent_url:
type: string
description: |-
The OAuth Specific string URL string template to initiate the authentication.
Expand All @@ -730,7 +730,7 @@ definitions:
{
"consent_url": "https://domain.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}"
}
scope:
scope:
type: string
description: |-
The OAuth Specific string of the scopes needed to be grant for authenticated user.
Expand All @@ -739,7 +739,7 @@ definitions:
{
"scope": "user:read user:read_orders workspaces:read"
}
access_token_url:
access_token_url:
type: string
description: |-
The OAuth Specific URL templated string to obtain the `access_token`, `refresh_token` etc.
Expand Down

0 comments on commit 13f2cb6

Please sign in to comment.