Skip to main content

Function: buildQueryFn()

buildQueryFn(queryParams): ((args) => string) | undefined

Defined in: schema.ts:340

Builds a function that serialises query params into a query string (including the leading ?), honouring each param's OpenAPI style and explode. Returns undefined when the op has no query params.

Parameters

ParameterType
queryParamsQueryParamSerialization[]

Returns

((args) => string) | undefined