Small fixes
A selection of 80 fixes from 174 pull requests.
23.A missing URL prefix
Combining base /v1 with endpoint /items produced /items. URL resolution replaced the base path. Use the same prefix joining as the generated client.
1231234567891011121314const query = queryInput === undefined ? "" : UrlParams.toString(UrlParams.fromInput(queryInput))const url = query === "" ? path : `${path}?${query}`return options?.baseUrl === undefined ? url : new URL(url, options.baseUrl.toString()).toString()const urlParams = queryInput === undefined ? UrlParams.empty : UrlParams.fromInput(queryInput)if (options?.baseUrl === undefined) { const query = UrlParams.toString(urlParams) return query === "" ? path : `${path}?${query}`}const url = new URL( HttpClientRequest.prependUrl(HttpClientRequest.get(path), options.baseUrl.toString()).url)for (const [key, value] of urlParams.params) { if (value !== undefined) { url.searchParams.append(key, value) }}return url.toString()