MCPcopy Create free account
hub / github.com/UiPath/uipathcli / pathParameters

Method pathParameters

executor/http_executor.go:263–272  ·  view source on GitHub ↗
(ctx ExecutionContext)

Source from the content-addressed store, hash-verified

261}
262
263func (e HttpExecutor) pathParameters(ctx ExecutionContext) []ExecutionParameter {
264 pathParameters := ctx.Parameters.Path()
265 if ctx.Organization != "" {
266 pathParameters = append(pathParameters, *NewExecutionParameter("organization", ctx.Organization, "path"))
267 }
268 if ctx.Tenant != "" {
269 pathParameters = append(pathParameters, *NewExecutionParameter("tenant", ctx.Tenant, "path"))
270 }
271 return pathParameters
272}
273
274func (e HttpExecutor) httpClientSettings(ctx ExecutionContext) network.HttpClientSettings {
275 return *network.NewHttpClientSettings(

Callers 1

CallMethod · 0.95

Calls 2

PathMethod · 0.80
NewExecutionParameterFunction · 0.70

Tested by

no test coverage detected