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

Function specPreviewSummary

packages/plugins/openapi/src/sdk/preview.ts:223–236  ·  view source on GitHub ↗
(preview: SpecPreview)

Source from the content-addressed store, hash-verified

221export type SpecPreviewSummary = typeof SpecPreviewSummary.Type;
222
223export const specPreviewSummary = (preview: SpecPreview): SpecPreviewSummary =>
224 SpecPreviewSummary.make({
225 title: preview.title,
226 description: preview.description,
227 version: preview.version,
228 servers: preview.servers,
229 operationCount: preview.operationCount,
230 tags: preview.tags,
231 securitySchemes: preview.securitySchemes,
232 authStrategies: preview.authStrategies,
233 headerPresets: preview.headerPresets,
234 oauth2Presets: preview.oauth2Presets,
235 healthCheckCandidates: preview.healthCheckCandidates,
236 });
237
238// ---------------------------------------------------------------------------
239// Security scheme extraction

Callers 1

handlers.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected