Skip to content

Cerces


Cerces / parameters / Path

Function: Path()

Call Signature

Path(): PathParameter<ZodString>

Defined in: src/parameters.ts:25

Returns

PathParameter<ZodString>

Call Signature

Path<S>(schema, options?): PathParameter<S>

Defined in: src/parameters.ts:26

Type Parameters

S

S extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

Parameters

schema

S

options?

description?

string

includeInSchema?

boolean

preprocessor?

Preprocessor

Returns

PathParameter<S>