MCPcopy Index your code
hub / github.com/Effect-TS/effect / TopLevelApi

Class TopLevelApi

packages/platform-node/test/HttpApi.test.ts:495–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493{}
494
495class TopLevelApi extends HttpApiGroup.make("root", { topLevel: true })
496 .add(
497 HttpApiEndpoint.get("healthz")`/healthz`
498 .addSuccess(HttpApiSchema.NoContent.annotations({ description: "Empty" }))
499 )
500{}
501
502class AnotherApi extends HttpApi.make("another").add(GroupsApi) {}
503

Callers

nothing calls this directly

Calls 5

addSuccessMethod · 0.80
addMethod · 0.65
makeMethod · 0.65
getMethod · 0.65
annotationsMethod · 0.65

Tested by

no test coverage detected