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

Class TopLevelApi

packages/platform/node/test/HttpApi.test.ts:1652–1658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1650{}
1651
1652class TopLevelApi extends HttpApiGroup.make("root", { topLevel: true })
1653 .add(
1654 HttpApiEndpoint.get("healthz", `/healthz`, {
1655 success: HttpApiSchema.NoContent.annotate({ description: "Empty" })
1656 })
1657 )
1658{}
1659
1660class AnotherApi extends HttpApi.make("another").add(GroupsApi) {}
1661

Callers

nothing calls this directly

Calls 4

addMethod · 0.65
makeMethod · 0.65
getMethod · 0.65
annotateMethod · 0.65

Tested by

no test coverage detected