invokeRequest method
Implementation
Future<ApiResponse> invokeRequest(RequestBuilder request) async {
final authNames = request.authNames ??
[
if (defaultAuthName != null) defaultAuthName!,
];
await updateParamsForAuth(
authNames.toSet(), request.queryParams, request.headerParams);
return transport.invokeAPI(
request.requestRelativeUrl,
request.method.enumValue,
request.queryParams,
request.files,
request.body,
request.headerParams,
request.formParams,
request.contentType,
basePath: request.basePath);
}