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

Function specPreviewSummary

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

Source from the content-addressed store, hash-verified

206export type SpecPreviewSummary = typeof SpecPreviewSummary.Type;
207
208export const specPreviewSummary = (preview: SpecPreview): SpecPreviewSummary =>
209 SpecPreviewSummary.make({
210 title: preview.title,
211 description: preview.description,
212 version: preview.version,
213 servers: preview.servers,
214 operationCount: preview.operationCount,
215 tags: preview.tags,
216 securitySchemes: preview.securitySchemes,
217 authStrategies: preview.authStrategies,
218 headerPresets: preview.headerPresets,
219 oauth2Presets: preview.oauth2Presets,
220 healthCheckCandidates: preview.healthCheckCandidates,
221 });
222
223// ---------------------------------------------------------------------------
224// Security scheme extraction

Callers 1

handlers.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected