summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-09-27 10:16:39 -0400
committerGitHub <noreply@github.com>2021-09-27 10:16:39 -0400
commitf183dc8aead7d2e64eb97e169b89d6cc90d78aa5 (patch)
tree69f76cc7565502bcd0d1b1e5ac277e49e9fce2d0 /web
parent07946d9f0a8826c841db5754cfa6a59871ea1ef7 (diff)
Clean up YAML files in the repository. (#11570)
* Assorted yamllint config updates. * Extended line length limit to 150. This is still a reasonable limit but cuts down on warnings a bit. * Added explicit ignore directives for external repo paths. This makes using yamllint locally nicer. * Enabled the rule to require null values to be explicit. This rule helps prevent accidental bogus mapping problems resulting from implicit null values combined with incorrect indentation. This only results in new errors in a couple of GHA workflows, which will be fixed in the next commit. * Fix all yamllint warnings in yaml file sin the repo. Most are indentation or spurious empty lines. * Fix invalid null value.
Diffstat (limited to 'web')
-rw-r--r--web/api/netdata-swagger.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/api/netdata-swagger.yaml b/web/api/netdata-swagger.yaml
index 062aa7ce5f..19f4ded56f 100644
--- a/web/api/netdata-swagger.yaml
+++ b/web/api/netdata-swagger.yaml
@@ -456,7 +456,7 @@ paths:
required: false
allowEmptyValue: true
schema:
- oneOf:
+ oneOf:
- type: string
enum:
- green
@@ -478,7 +478,7 @@ paths:
required: false
allowEmptyValue: true
schema:
- oneOf:
+ oneOf:
- type: string
enum:
- green