You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/operator.go b/operator.go
index d2914b3..899b876 100644
--- a/operator.go+++ b/operator.go@@ -522,15 +522,18 @@ func New(opts ...Option) (*operator, error) {
if key != "" && key != k {
continue
}
- runner, ok := bk.runners[k].(map[string]any)+ runner, ok := bk.httpRunners[k]
if !ok {
return nil, fmt.Errorf("invalid type: %v", bk.runners[k])
}
c := &httpRunnerConfig{
OpenAPI3DocLocation: p,
}
- c.SkipValidateRequest, _ = runner["skipValidateRequest"].(bool)- c.SkipValidateResponse, _ = runner["skipValidateResponse"].(bool)++ if validator, ok := runner.validator.(*openAPI3Validator); ok && validator != nil {+ c.SkipValidateRequest = validator.skipValidateRequest+ c.SkipValidateResponse = validator.skipValidateResponse+ }
val, err := newHttpValidator(c)
if err != nil {
marimelon
changed the title
Unable to use --runner and --http-openapi3 options together in runn CLI
[Bug] Unable to use --runner and --http-openapi3 options together in runn CLI
Apr 6, 2025
When I tried to use the --runner option and the --http-openapi3 option simultaneously, I encountered the following error.
The text was updated successfully, but these errors were encountered: