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

Function compileOpenApiSpec

packages/plugins/openapi/src/sdk/backing.ts:243–249  ·  view source on GitHub ↗
(
  specText: string,
)

Source from the content-addressed store, hash-verified

241 });
242
243export const compileOpenApiSpec = (
244 specText: string,
245): Effect.Effect<CompiledOpenApiSpec, OpenApiParseError | OpenApiExtractionError> =>
246 Effect.gen(function* () {
247 const doc = yield* parse(specText);
248 return yield* compileOpenApiDocument(doc);
249 });
250
251/**
252 * Bounded reuse of compiled specs for the serve-side fallback paths (health

Callers 5

addSpecFunction · 0.90
updateSpecFunction · 0.90
addBundleFunction · 0.85
updateBundleFunction · 0.85
compileOpenApiSpecCachedFunction · 0.85

Calls 1

compileOpenApiDocumentFunction · 0.85

Tested by

no test coverage detected