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

Function setPath

packages/platform/src/HttpApiEndpoint.ts:785–790  ·  view source on GitHub ↗
(this: HttpApiEndpoint.AnyWithProps, schema: Schema.Schema.Any)

Source from the content-addressed store, hash-verified

783 })
784 },
785 setPath(this: HttpApiEndpoint.AnyWithProps, schema: Schema.Schema.Any) {
786 return makeProto({
787 ...this,
788 pathSchema: Option.some(schema)
789 })
790 },
791 setUrlParams(this: HttpApiEndpoint.AnyWithProps, schema: Schema.Schema.Any) {
792 return makeProto({
793 ...this,

Callers

nothing calls this directly

Calls 1

makeProtoFunction · 0.70

Tested by

no test coverage detected