1
0
mirror of synced 2025-12-25 02:09:19 -05:00

Source File: fix example in Reader Options in specification (#24525)

* Update file.md

* Update spec.json

* Update spec.json

* update versions and changelog

* bump version number

* update changelog and rebase

* auto-bump connector version

* fix integration test spec.json file

* remove unused files

* restore acceptance test

* convert all examples to string

* convert example to string

* regenerate seed

* change to airbyte.com

* Update source_specs.yaml

* Delete source_definitions.yaml

* regenerate source spec file

* update spec for file-secure

---------

Co-authored-by: Mal Hancock <mallory@archangelic.space>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
This commit is contained in:
Ujjwal Tyagi
2023-04-11 01:50:56 +05:30
committed by GitHub
parent 9bf183a439
commit 812453fd8e
9 changed files with 81 additions and 93 deletions

View File

@@ -1,6 +1,5 @@
{
"documentationUrl": "https://docs.airbyte.com/integrations/sources/file",
"connectionSpecification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "File Source Spec",
@@ -33,13 +32,21 @@
"type": "string",
"title": "Reader Options",
"description": "This should be a string in JSON format. It depends on the chosen file format to provide additional options and tune its behavior.",
"examples": ["{}", "{\"sep\": \" \"}", { "sep" : "\t", "header" : 0, "names": "column1, column2"}]
"examples": [
"{}",
"{\"sep\": \" \"}",
"{\"sep\": \"\t\", \"header\": 0, \"names\": [\"column1\", \"column2\"] }"
]
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL path to access the file which should be replicated.",
"examples": ["https://storage.googleapis.com/covid19-open-data/v2/latest/epidemiology.csv", "gs://my-google-bucket/data.csv", "s3://gdelt-open-data/events/20190914.export.csv"]
"examples": [
"https://storage.googleapis.com/covid19-open-data/v2/latest/epidemiology.csv",
"gs://my-google-bucket/data.csv",
"s3://gdelt-open-data/events/20190914.export.csv"
]
},
"provider": {
"type": "object",