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

Function compileOpenApiSpec

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

Source from the content-addressed store, hash-verified

252 });
253
254export const compileOpenApiSpec = (
255 specText: string,
256): Effect.Effect<CompiledOpenApiSpec, OpenApiParseError | OpenApiExtractionError> =>
257 Effect.gen(function* () {
258 const doc = yield* parse(specText);
259 return yield* compileOpenApiDocument(doc);
260 });
261
262/**
263 * Bounded reuse of compiled specs for the serve-side fallback paths (health

Callers 4

addSpecFunction · 0.90
updateSpecFunction · 0.90
presets.test.tsFile · 0.85
compileOpenApiSpecCachedFunction · 0.85

Calls 1

compileOpenApiDocumentFunction · 0.85

Tested by

no test coverage detected