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

Function explicitToolPath

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

Source from the content-addressed store, hash-verified

501 `${method}_operation`);
502
503const explicitToolPath = (operation: OperationObject): string | undefined => {
504 const value = (operation as Record<string, unknown>)["x-executor-toolPath"];
505 return typeof value === "string" && value.trim().length > 0 ? value.trim() : undefined;
506};
507
508const explicitPathTemplate = (operation: OperationObject): string | undefined => {
509 const value = (operation as Record<string, unknown>)["x-executor-pathTemplate"];

Callers 4

extract.tsFile · 0.85
streamOperationBindingsFunction · 0.85
streamPreviewOperationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected