bump(go-openapi/validate): d509235108fcf6ab4913d2dcb3a2260c0db2108e
This commit is contained in:
5
vendor/github.com/go-openapi/validate/formats.go
generated
vendored
5
vendor/github.com/go-openapi/validate/formats.go
generated
vendored
@@ -15,6 +15,7 @@
|
||||
package validate
|
||||
|
||||
import (
|
||||
"log"
|
||||
"reflect"
|
||||
|
||||
"github.com/go-openapi/spec"
|
||||
@@ -51,7 +52,9 @@ func (f *formatValidator) Applies(source interface{}, kind reflect.Kind) bool {
|
||||
return false
|
||||
}
|
||||
r := doit()
|
||||
// fmt.Printf("schema props validator for %q applies %t for %T (kind: %v)\n", f.Path, r, source, kind)
|
||||
if Debug {
|
||||
log.Printf("format validator for %q applies %t for %T (kind: %v)\n", f.Path, r, source, kind)
|
||||
}
|
||||
return r
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user