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

Function specPreviewSummary

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

Source from the content-addressed store, hash-verified

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

Callers 1

handlers.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected