MCPcopy Create free account
hub / github.com/Effect-TS/effect / fromApi

Function fromApi

packages/effect/src/unstable/httpapi/OpenApi.ts:280–284  ·  view source on GitHub ↗
(
  api: HttpApi.HttpApi<Id, Groups>
)

Source from the content-addressed store, hash-verified

278 * @since 4.0.0
279 */
280export function fromApi<Id extends string, Groups extends HttpApiGroup.Constraint>(
281 api: HttpApi.HttpApi<Id, Groups>
282): OpenAPISpec {
283 return fromApiWith(api, apiCache, compileSchemas)
284}
285
286function fromApiWith<Id extends string, Groups extends HttpApiGroup.Constraint>(
287 api: HttpApi.HttpApi<Id, Groups>,

Callers

nothing calls this directly

Calls 1

fromApiWithFunction · 0.85

Tested by

no test coverage detected