From 5df46e15d651cb2a8c2e2fe33c9b3b8a1b8f73e1 Mon Sep 17 00:00:00 2001 From: Claudio Beatrice Date: Sat, 30 Sep 2023 15:07:47 +0200 Subject: [PATCH] fix: set exclusiveMinimum to float64 as well --- pkg/schemas/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/schemas/model.go b/pkg/schemas/model.go index 9872fed7..8339234d 100644 --- a/pkg/schemas/model.go +++ b/pkg/schemas/model.go @@ -116,7 +116,7 @@ type Type struct { Maximum float64 `json:"maximum,omitempty"` // Section 5.2. ExclusiveMaximum float64 `json:"exclusiveMaximum,omitempty"` // Section 5.3. Minimum float64 `json:"minimum,omitempty"` // Section 5.4. - ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty"` // Section 5.5. + ExclusiveMinimum float64 `json:"exclusiveMinimum,omitempty"` // Section 5.5. MaxLength int `json:"maxLength,omitempty"` // Section 5.6. MinLength int `json:"minLength,omitempty"` // Section 5.7. Pattern string `json:"pattern,omitempty"` // Section 5.8.