Skip to main content

Function: buildOperationUrl()

buildOperationUrl(__namedParameters): string

Defined in: core/operations.ts:141

Builds the request URL for an operation. Each param is placed where the spec declares it: path params fill the template, query params go to the query string, and anything the spec does not declare is ignored — so callers can pass one flat object of params.

Parameters​

ParameterType
__namedParameters{ operation: ResolvedOperation; params?: OperationParams; }
__namedParameters.operationResolvedOperation
__namedParameters.params?OperationParams

Returns​

string