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

Function documentSecurityOf

packages/plugins/openapi/src/sdk/extract.ts:536–539  ·  view source on GitHub ↗
(doc: unknown)

Source from the content-addressed store, hash-verified

534};
535
536const documentSecurityOf = (doc: unknown): unknown =>
537 doc !== null && typeof doc === "object" && !Array.isArray(doc)
538 ? (doc as Record<string, unknown>).security
539 : undefined;
540
541// ---------------------------------------------------------------------------
542// Main extraction

Callers 3

extract.tsFile · 0.85
streamOperationBindingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected