Skip to content

Commit c996816

Browse files
committed
Fixed debug issue and bumped deps
1 parent f122c29 commit c996816

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/gizak/termui/v3 v3.1.0
1313
github.com/json-iterator/go v1.1.12
1414
github.com/mitchellh/mapstructure v1.5.0
15-
github.com/pb33f/doctor v0.0.21
15+
github.com/pb33f/doctor v0.0.25
1616
github.com/pb33f/libopenapi v0.21.9
1717
github.com/pb33f/libopenapi-validator v0.4.0
1818
github.com/pterm/pterm v0.12.80

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y
157157
github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
158158
github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=
159159
github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro=
160-
github.com/pb33f/doctor v0.0.21 h1:onPiVexukp1sGB6K2PKtUNIJ9MT/8C+r07hVrR9trks=
161-
github.com/pb33f/doctor v0.0.21/go.mod h1:oZz9BJ+MFj8kqpXyIrQlxSsOW5aeXPZOpSew25Oa9W8=
160+
github.com/pb33f/doctor v0.0.25 h1:vzLMZ5q8A5ooGDxSO5G2DaaCWgGYYfFOtSPpq0KfOAQ=
161+
github.com/pb33f/doctor v0.0.25/go.mod h1:h/U1svlBPRRRMbxb+9Bq49z1MnCiUk3xMo7peKO+SNk=
162162
github.com/pb33f/libopenapi v0.21.9 h1:KXmI68Fjln/hodb+7pcyNDYfvwqqLGv+sCd8GC47wBQ=
163163
github.com/pb33f/libopenapi v0.21.9/go.mod h1:Gc8oQkjr2InxwumK0zOBtKN9gIlv9L2VmSVIUk2YxcU=
164164
github.com/pb33f/libopenapi-validator v0.4.0 h1:3ZdmyyP1oztytrJTPU3BTYGxUgzsTTNBA2uQNgmjzqk=

model/utils.go

-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ func ValidateRuleFunctionContextAgainstSchema(ruleFunction RuleFunction, ctx Rul
5656
schema := ruleFunction.GetSchema()
5757
numProps := 0
5858

59-
if schema.Name == "postResponseSuccess" {
60-
println("here")
61-
}
62-
6359
if options, ok := ctx.Options.(map[string]interface{}); ok {
6460
numProps = countPropsInterface(options, numProps)
6561
}

0 commit comments

Comments
 (0)