Skip to content

Workery


Workery / parameters / Path

Function: Path() ​

Call Signature ​

Path(): PathParameter<ZodString>

Defined in: src/parameters.ts:27

Returns ​

PathParameter<ZodString>

Call Signature ​

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

Defined in: src/parameters.ts:28

Type Parameters ​

S ​

S extends ZodType<any, ZodTypeDef, any>

Parameters ​

schema ​

S

options? ​

Omit<RouteParameterOptions, "mediaType">

Returns ​

PathParameter<S>