From 01c9158120a9b6974be8d12423dbe64e46562b1a Mon Sep 17 00:00:00 2001 From: Pete Davison Date: Fri, 23 Dec 2022 00:34:08 +0000 Subject: [PATCH] fix: incorrect schema type for interval - Fixes #962 --- docs/static/schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/static/schema.json b/docs/static/schema.json index 5a40b8ed..a7f84c6f 100644 --- a/docs/static/schema.json +++ b/docs/static/schema.json @@ -370,7 +370,8 @@ }, "interval": { "description": "Sets a different watch interval when using `--watch`, the default being 5 seconds. This string should be a valid Go duration: https://pkg.go.dev/time#ParseDuration.", - "$ref": "#/definitions/3/run" + "type": "string", + "pattern": "^[0-9]+(?:m|s|ms)$" } }, "additionalProperties": false,