Skip to content

Commit af7da95

Browse files
Correct coinmarket spec (#18790)
* correct coinmarket spec * remove duplicate support normalization from source spec * rollback coinmarketcap version in source def seed * update connector version * auto-bump connector version Co-authored-by: Octavia Squidington III <[email protected]>
1 parent dc15f56 commit af7da95

File tree

4 files changed

+33
-37
lines changed

4 files changed

+33
-37
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
- name: CoinMarketCap
229229
sourceDefinitionId: 239463f5-64bb-4d88-b4bd-18ce673fd572
230230
dockerRepository: airbyte/source-coinmarketcap
231-
dockerImageTag: 0.1.0
231+
dockerImageTag: 0.1.1
232232
documentationUrl: https://docs.airbyte.com/integrations/sources/coinmarketcap
233233
sourceType: api
234234
releaseStage: alpha

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2286,50 +2286,47 @@
22862286
supportsNormalization: false
22872287
supportsDBT: false
22882288
supported_destination_sync_modes: []
2289-
- dockerImage: "airbyte/source-coinmarketcap:0.1.0"
2289+
- dockerImage: "airbyte/source-coinmarketcap:0.1.1"
22902290
spec:
2291-
documentationUrl: https://docs.airbyte.com/integrations/sources/coinmarketcap
2291+
documentationUrl: "https://docs.airbyte.com/integrations/sources/coinmarketcap"
22922292
connectionSpecification:
2293-
$schema: http://json-schema.org/draft-07/schema#
2294-
title: Coinmarketcap Spec
2295-
type: object
2293+
$schema: "http://json-schema.org/draft-07/schema#"
2294+
title: "Coinmarketcap Spec"
2295+
type: "object"
22962296
required:
2297-
- api_key
2298-
- data_type
2297+
- "api_key"
2298+
- "data_type"
22992299
additionalProperties: true
23002300
properties:
23012301
api_key:
2302-
title: API Key
2303-
type: string
2304-
description: >-
2305-
Your API Key. See <a
2306-
href="https://coinmarketcap.com/api/documentation/v1/#section/Authentication">here</a>. The token is
2307-
case sensitive.
2302+
title: "API Key"
2303+
type: "string"
2304+
description: "Your API Key. See <a href=\"https://coinmarketcap.com/api/documentation/v1/#section/Authentication\"\
2305+
>here</a>. The token is case sensitive."
23082306
airbyte_secret: true
23092307
data_type:
2310-
title: Data type
2311-
type: string
2308+
title: "Data type"
2309+
type: "string"
23122310
enum:
2313-
- latest
2314-
- historical
2315-
description: >-
2316-
/latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges.
2317-
/historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See <a
2318-
href="https://coinmarketcap.com/api/documentation/v1/#section/Endpoint-Overview">here</a>.
2311+
- "latest"
2312+
- "historical"
2313+
description: "/latest: Latest market ticker quotes and averages for cryptocurrencies\
2314+
\ and exchanges. /historical: Intervals of historic market data like OHLCV\
2315+
\ data or data for use in charting libraries. See <a href=\"https://coinmarketcap.com/api/documentation/v1/#section/Endpoint-Overview\"\
2316+
>here</a>."
23192317
symbols:
2320-
title: Symbol
2321-
type: array
2322-
items: {
2323-
"type": "string"
2324-
}
2325-
description: Cryptocurrency symbols. (only used for quotes stream)
2318+
title: "Symbol"
2319+
type: "array"
2320+
items:
2321+
type: "string"
2322+
description: "Cryptocurrency symbols. (only used for quotes stream)"
23262323
minItems: 1
23272324
examples:
2328-
- AVAX
2329-
- BTC
2330-
supportsNormalization: false
2331-
supportsDBT: false
2332-
supported_destination_sync_modes: []
2325+
- "AVAX"
2326+
- "BTC"
2327+
supportsNormalization: false
2328+
supportsDBT: false
2329+
supported_destination_sync_modes: []
23332330
- dockerImage: "airbyte/source-commercetools:0.1.0"
23342331
spec:
23352332
documentationUrl: "https://docs.airbyte.com/integrations/sources/commercetools"

airbyte-integrations/connectors/source-coinmarketcap/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ COPY source_coinmarketcap ./source_coinmarketcap
3434
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
3535
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
3636

37-
LABEL io.airbyte.version=0.1.0
37+
LABEL io.airbyte.version=0.1.1
3838
LABEL io.airbyte.name=airbyte/source-coinmarketcap

airbyte-integrations/connectors/source-coinmarketcap/source_coinmarketcap/spec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ connectionSpecification:
2929
symbols:
3030
title: Symbol
3131
type: array
32-
items: {
33-
"type": "string"
34-
}
32+
items:
33+
type: string
3534
description: Cryptocurrency symbols. (only used for quotes stream)
3635
minItems: 1
3736
examples:

0 commit comments

Comments
 (0)