From 5432183d85020ecb392646d4055f40a6fc62e1f4 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Thu, 26 Jul 2018 09:25:24 -0700 Subject: [PATCH] SHIBUI-689 Added minimum to validation for http cache fields --- .../schema/provider/filebacked-http-advanced.schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/src/assets/schema/provider/filebacked-http-advanced.schema.json b/ui/src/assets/schema/provider/filebacked-http-advanced.schema.json index fd402bf93..a272f7771 100644 --- a/ui/src/assets/schema/provider/filebacked-http-advanced.schema.json +++ b/ui/src/assets/schema/provider/filebacked-http-advanced.schema.json @@ -231,14 +231,16 @@ "title": "HTTP Max Cache Entries", "description": "The maximum number of responses written to cache. This attribute is incompatible with httpClientRef.", "placeholder": "", - "default": 0 + "default": 0, + "minimum": 0 }, "httpMaxCacheEntrySize": { "type": "integer", "title": "HTTP Max Cache Entry Size", "description": "The maximum response body size that may be cached, in bytes. This attribute is incompatible with httpClientRef.", "placeholder": "", - "default": 0 + "default": 0, + "minimum": 0 } } }