You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/28 18:29:19 UTC

[airflow] branch master updated: Fix typos and added missing descriptions in provider.yaml schema (#12690)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 64f1475  Fix typos and added missing descriptions in provider.yaml schema (#12690)
64f1475 is described below

commit 64f14759e4b7aa88cc881c1ca2702565720ae009
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Sat Nov 28 19:27:08 2020 +0100

    Fix typos and added missing descriptions in provider.yaml schema (#12690)
---
 airflow/provider.yaml.schema.json | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/airflow/provider.yaml.schema.json b/airflow/provider.yaml.schema.json
index 9e2933d..19ece21 100644
--- a/airflow/provider.yaml.schema.json
+++ b/airflow/provider.yaml.schema.json
@@ -15,32 +15,35 @@
       "type": "string"
     },
     "versions": {
-      "description": "List of available versions in Pypi",
+      "description": "List of available versions in Pypi. Sorted descending according to release date.",
       "type": "array",
       "items": {
         "type": "string"
       }
     },
     "integrations": {
+      "description": "List of integrations supported by the provider.",
       "type": "array",
       "items": {
         "type": "object",
         "properties": {
           "integration-name": {
-            "type": "string"
+            "type": "string",
+            "description": "Name of the integration."
           },
           "external-doc-url": {
-            "type": "string"
+            "type": "string",
+            "description": "URL to external documentation for the integration."
           },
           "how-to-guide": {
-            "description": "List of path to how-to-guide. The path must starts with '/docs/'",
+            "description": "List of paths to how-to-guide for the integration. The path must start with '/docs/'",
             "type": "array",
             "items": {
               "type": "string"
             }
           },
           "tags": {
-            "description": "List of tags describing integrations. While we're using RST, only one tag is supported for integration.",
+            "description": "List of tags describing the integration. While we're using RST, only one tag is supported per integration.",
             "type": "array",
             "items": {
               "type": "string",
@@ -79,6 +82,7 @@
             "description": "Integration name. It must have a matching item in the 'integration' section of any provider."
           },
           "python-modules": {
+            "description": "List of python modules containing the operators.",
             "type": "array",
             "items": {
               "type": "string"
@@ -102,6 +106,7 @@
             "description": "Integration name. It must have a matching item in the 'integration' section of any provider."
           },
           "python-modules": {
+            "description": "List of python modules containing the sensors.",
             "type": "array",
             "items": {
               "type": "string"
@@ -125,6 +130,7 @@
             "description": "Integration name. It must have a matching item in the 'integration' section of any provider."
           },
           "python-modules": {
+            "description": "List of python modules containing the hooks.",
             "type": "array",
             "items": {
               "type": "string"
@@ -144,7 +150,7 @@
         "type": "object",
         "properties": {
           "how-to-guide": {
-            "description": "Oath to how-to-guide. The path must starts with '/docs/'",
+            "description": "Path to how-to-guide for the transfer. The path must start with '/docs/'",
             "type": "string"
           },
           "source-integration-name": {
@@ -157,7 +163,7 @@
           },
           "python-module": {
             "type": "string",
-            "description": "Source integration name. It must have a matching item in the 'integration' section of any provider."
+            "description": "List of python modules containing the transfers."
           }
         },
         "additionalProperties": false,