Skip to content

Commit

Permalink
fix: set exclusiveMinimum to float64 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Sep 30, 2023
1 parent 94e03f9 commit 5df46e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/schemas/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5df46e1

Please sign in to comment.