diff --git a/protocol-models/src/main/resources/airbyte_protocol/airbyte_protocol.yaml b/protocol-models/src/main/resources/airbyte_protocol/airbyte_protocol.yaml index a465bcb..0151a60 100644 --- a/protocol-models/src/main/resources/airbyte_protocol/airbyte_protocol.yaml +++ b/protocol-models/src/main/resources/airbyte_protocol/airbyte_protocol.yaml @@ -502,6 +502,12 @@ definitions: protocol_version: description: "the Airbyte Protocol version supported by the connector. Protocol versioning uses SemVer. " type: string + spec_version: + type: integer + description: |- + The version of the spec - if there is a change that requires to migrate the config of an actor, this number should be incremented. + This allows the platform to track whether a persisted config object is up to date or not. + Specifying a version is optional, but if a version of the connector specifies it, all subsequent versions must specify it as well. The number must either be incremented or stay the same. OAuthConfigSpecification: type: object additionalProperties: true diff --git a/protocol-models/src/main/resources/airbyte_protocol/v0/airbyte_protocol.yaml b/protocol-models/src/main/resources/airbyte_protocol/v0/airbyte_protocol.yaml index e17fc0f..f48f0d7 100644 --- a/protocol-models/src/main/resources/airbyte_protocol/v0/airbyte_protocol.yaml +++ b/protocol-models/src/main/resources/airbyte_protocol/v0/airbyte_protocol.yaml @@ -553,6 +553,12 @@ definitions: protocol_version: description: "the Airbyte Protocol version supported by the connector. Protocol versioning uses SemVer. " type: string + spec_version: + type: integer + description: |- + The version of the spec - if there is a change that requires to migrate the config of an actor, this number should be incremented. + This allows the platform to track whether a persisted config object is up to date or not. + Specifying a version is optional, but if a version of the connector specifies it, all subsequent versions must specify it as well. The number must either be incremented or stay the same. OAuthConfigSpecification: type: object additionalProperties: true