Skip to content

Commit 2662fa3

Browse files
committed
chore(deps): go mod: update
1 parent bf0c5e7 commit 2662fa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openapi3edit/tags.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77

88
oas3 "github.com/getkin/kin-openapi/openapi3"
99
"github.com/grokify/mogo/type/stringsutil"
10+
"github.com/grokify/mogo/type/strslices"
1011
"github.com/grokify/spectrum/openapi3"
1112
)
1213

@@ -161,7 +162,7 @@ func (tmo *TagsModifyOpts) ModifyTagsOperationFunc(path, method string, op *oas3
161162
for tagTry, urlSuffixes := range tmo.TagURLsMap {
162163
tags := strings.Split(tagTry, ",")
163164
tags = stringsutil.SliceCondenseSpace(tags, true, false)
164-
if stringsutil.SliceIndexMore(
165+
if strslices.IndexMore(
165166
urlSuffixes,
166167
path, true, true, stringsutil.MatchStringSuffix) > -1 {
167168
op.Tags = tags

0 commit comments

Comments
 (0)