mik-laj commented on a change in pull request #13025:
URL: https://github.com/apache/airflow/pull/13025#discussion_r543645478



##########
File path: airflow/config_templates/config.yml.schema.json
##########
@@ -0,0 +1,61 @@
+{
+  "$schema": "http://json-schema.org/draft-07/schema#";,
+  "type": "array",
+  "items": {
+    "type": "object",
+    "properties": {
+      "name": {
+        "type": "string"
+      },
+      "description": {
+        "type": ["string", "null"]
+      },
+      "options": {
+        "type": "array",
+        "items": {
+          "type": "object",
+          "properties": {
+            "name": {
+              "type": "string"
+            },
+            "description": {
+              "type": ["string", "null"]
+            },
+            "version_added": {
+              "type": ["string", "null"]
+            },
+            "type": {
+              "type": "string",
+              "enum": ["string", "boolean", "integer", "float"]
+            },
+            "example": {
+              "type": ["string", "null", "number"]
+            },
+            "default": {
+              "type": ["string", "null", "number"]
+            },
+            "sensitive": {
+              "type": "boolean",
+              "description": "'true' is this value is sensitive and can be 
specified using {section}___{name}__SECRET or {section}___{name}__CMD 
environment variables."

Review comment:
       ```suggestion
                 "description": "When true, this option is sensitive and can be 
specified using AIRFLOW__{section}___{name}__SECRET or 
AIRFLOW__{section}___{name}__CMD environment variables."
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to