Skip to content

Commit

Permalink
fix error reason typo (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp authored Dec 18, 2021
1 parent 2c128ab commit f13ef7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi3/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ func (schema *Schema) visitJSONNumber(settings *schemaValidationSettings, value
Value: value,
Schema: schema,
SchemaField: "maximum",
Reason: fmt.Sprintf("number must be most %g", *v),
Reason: fmt.Sprintf("number must be at most %g", *v),
}
if !settings.multiError {
return err
Expand Down

0 comments on commit f13ef7f

Please sign in to comment.