We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6df70da + 10bfc22 commit 2f6aabcCopy full SHA for 2f6aabc
internal/openapi/server.go
@@ -52,7 +52,7 @@ func (srv *Server) sanitize() *core.Error {
52
}
53
54
k := "{" + key + "}"
55
- if strings.Index(srv.URL, k) < 0 {
+ if !strings.Contains(srv.URL, k) {
56
return core.NewError(locale.ErrInvalidValue).WithField("variables[" + key + "]")
57
58
0 commit comments