MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / explicitToolPath

Function explicitToolPath

packages/plugins/openapi/src/sdk/extract.ts:427–430  ·  view source on GitHub ↗
(operation: OperationObject)

Source from the content-addressed store, hash-verified

425 `${method}_operation`);
426
427const explicitToolPath = (operation: OperationObject): string | undefined => {
428 const value = (operation as Record<string, unknown>)["x-executor-toolPath"];
429 return typeof value === "string" && value.trim().length > 0 ? value.trim() : undefined;
430};
431
432const explicitPathTemplate = (operation: OperationObject): string | undefined => {
433 const value = (operation as Record<string, unknown>)["x-executor-pathTemplate"];

Callers 3

extract.tsFile · 0.85
streamOperationBindingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected