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

Method setPath

packages/platform/src/HttpApiEndpoint.ts:153–153  ·  view source on GitHub ↗

* Set the schema for the path parameters of the endpoint. The schema will be * used to validate the path parameters before the handler is called.

(
    schema: Path & HttpApiEndpoint.ValidatePath<Path>
  )

Source from the content-addressed store, hash-verified

151 * used to validate the path parameters before the handler is called.
152 */
153 setPath<Path extends Schema.Schema.Any>(
154 schema: Path & HttpApiEndpoint.ValidatePath<Path>
155 ): HttpApiEndpoint<
156 Name,

Callers 2

OpenApi.test.tsFile · 0.80
toHttpApiGroupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected