Skip to content

Commit 2f70c1e

Browse files
author
John Engelman
committed
fix: Append all credentials for OpenAPI security infos
1 parent 9ea9b9c commit 2f70c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/loader/openapi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func getOpenAPITools(t *openapi3.T, defaultHost, source, targetToolName string)
305305
if err != nil {
306306
return nil, fmt.Errorf("failed to parse operation server URL: %w", err)
307307
}
308-
tool.Credentials = info.GetCredentialToolStrings(operationServerURL.Hostname())
308+
tool.Credentials = append(tool.Credentials, info.GetCredentialToolStrings(operationServerURL.Hostname())...)
309309
}
310310
}
311311

0 commit comments

Comments
 (0)