From 7853112dd93a924deabb161905a1d1ff8d98473d Mon Sep 17 00:00:00 2001 From: Nicko Guyer Date: Fri, 24 Jun 2022 12:59:26 -0400 Subject: [PATCH] Add number to list of allowed JSON input types Signed-off-by: Nicko Guyer --- pkg/fftypes/ffi_param_validator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/fftypes/ffi_param_validator.go b/pkg/fftypes/ffi_param_validator.go index fe260cf..f0ed76b 100644 --- a/pkg/fftypes/ffi_param_validator.go +++ b/pkg/fftypes/ffi_param_validator.go @@ -77,6 +77,7 @@ func (v *BaseFFIParamValidator) GetMetaSchema() *jsonschema.Schema { "enum": [ "boolean", "integer", + "number", "string", "array", "object"