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

Function documentSecurityOf

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

Source from the content-addressed store, hash-verified

610};
611
612const documentSecurityOf = (doc: unknown): unknown =>
613 doc !== null && typeof doc === "object" && !Array.isArray(doc)
614 ? (doc as Record<string, unknown>).security
615 : undefined;
616
617// ---------------------------------------------------------------------------
618// Main extraction

Callers 3

extract.tsFile · 0.85
streamOperationBindingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected