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

Function byId

packages/plugins/openapi/src/sdk/extract.test.ts:231–231  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

229
230 const result = yield* extract(doc);
231 const byId = (id: string) => result.operations.find((op) => op.operationId === id);
232
233 expect(byId("listFiles")?.requiredScopeAlternatives).toEqual([
234 ["files.read"],

Callers 1

extract.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected