Skip to content

Commit 8243729

Browse files
committed
spelling: goessner
Signed-off-by: Josh Soref <[email protected]>
1 parent 1bee7ad commit 8243729

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

arazzo/criterion/criterion.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ const (
3232
type CriterionTypeVersion string
3333

3434
const (
35-
CriterionTypeVersionNone CriterionTypeVersion = ""
36-
CriterionTypeVersionDraftGoesnerDispatchJsonPath00 CriterionTypeVersion = "draft-goessner-dispatch-jsonpath-00"
37-
CriterionTypeVersionXPath30 CriterionTypeVersion = "xpath-30"
38-
CriterionTypeVersionXPath20 CriterionTypeVersion = "xpath-20"
39-
CriterionTypeVersionXPath10 CriterionTypeVersion = "xpath-10"
35+
CriterionTypeVersionNone CriterionTypeVersion = ""
36+
CriterionTypeVersionDraftGoessnerDispatchJsonPath00 CriterionTypeVersion = "draft-goessner-dispatch-jsonpath-00"
37+
CriterionTypeVersionXPath30 CriterionTypeVersion = "xpath-30"
38+
CriterionTypeVersionXPath20 CriterionTypeVersion = "xpath-20"
39+
CriterionTypeVersionXPath10 CriterionTypeVersion = "xpath-10"
4040
)
4141

4242
// CriterionExpressionType represents the type of expression used to evaluate the criterion.
@@ -57,9 +57,9 @@ func (c *CriterionExpressionType) Validate(opts ...validation.Option) []error {
5757
switch c.Type {
5858
case CriterionTypeJsonPath:
5959
switch c.Version {
60-
case CriterionTypeVersionDraftGoesnerDispatchJsonPath00:
60+
case CriterionTypeVersionDraftGoessnerDispatchJsonPath00:
6161
default:
62-
errs = append(errs, validation.NewValueError(validation.NewValueValidationError("version must be one of [%s]", strings.Join([]string{string(CriterionTypeVersionDraftGoesnerDispatchJsonPath00)}, ", ")), core, core.Version))
62+
errs = append(errs, validation.NewValueError(validation.NewValueValidationError("version must be one of [%s]", strings.Join([]string{string(CriterionTypeVersionDraftGoessnerDispatchJsonPath00)}, ", ")), core, core.Version))
6363
}
6464
case CriterionTypeXPath:
6565
switch c.Version {

0 commit comments

Comments
 (0)