diff --git a/src/libs/Directory.Build.props b/src/libs/Directory.Build.props index 6dfaf6abc5..63fbca0fb2 100644 --- a/src/libs/Directory.Build.props +++ b/src/libs/Directory.Build.props @@ -39,7 +39,7 @@ - 0.11.10 + 0.11.11 0.1 v dev diff --git a/src/libs/OpenApiGenerator.Core/Generation/Sources.Methods.cs b/src/libs/OpenApiGenerator.Core/Generation/Sources.Methods.cs index 013f11b14d..9a8c120a22 100644 --- a/src/libs/OpenApiGenerator.Core/Generation/Sources.Methods.cs +++ b/src/libs/OpenApiGenerator.Core/Generation/Sources.Methods.cs @@ -99,7 +99,7 @@ public static string GenerateMethod( }};").Inject() : " ")} using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: {GetHttpMethod(endPoint.Settings.TargetFramework, endPoint.HttpMethod)}, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + {endPoint.Path}, global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + {endPoint.Path}, global::System.UriKind.RelativeOrAbsolute)); {(string.IsNullOrWhiteSpace(endPoint.RequestType.CSharpType) || endPoint.RequestType.IsBase64 ? " " : $@" var __json = {jsonSerializer.GenerateSerializeCall(endPoint.RequestType, endPoint.Settings.JsonSerializerContext)}; httpRequest.Content = new global::System.Net.Http.StringContent( diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs index 8f0c7db238..f8620175a0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/disablerecurringpayment?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/disablerecurringpayment?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs index b51681167e..d1e86c5ac3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/account/getaccountbillinglogsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/account/getaccountbillinglogsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs index 88393f21c8..89c3cd1771 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/account/getaccountdetailsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/account/getaccountdetailsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs index 98270f4e5d..42f69c0186 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/account/getaccountforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/account/getaccountforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs index c7eb130eb3..de1522be77 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getaccountprojectinfojobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getaccountprojectinfojobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs index b0fcb05530..ee3d701a91 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getexportstoragemetricsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getexportstoragemetricsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs index 5c572f3224..178e99c3af 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getprojectaccessdetailsforuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getprojectaccessdetailsforuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs index 174ab26278..e1914a0d1c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getprojectaccessdetailsforuser2?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getprojectaccessdetailsforuser2?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs index ad85c30f4d..bc1c993dba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs @@ -22,7 +22,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/grantadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/grantadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs index 8b7925e235..bd80931c96 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/removeuserfromcurrentaccount?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/removeuserfromcurrentaccount?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs index 0b9a5a3665..3d2b4d939f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs @@ -22,7 +22,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/revokeadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/revokeadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs index ffc8435f2e..076a72723c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs @@ -24,7 +24,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/sendpaymentreceipt?accountId={accountId}&transactionId={transactionId}&email={email}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/sendpaymentreceipt?accountId={accountId}&transactionId={transactionId}&email={email}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs index c4853f9e27..885923936f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startexportaccountchargesjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startexportaccountchargesjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs index ad04b08275..a3e7c734e1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startexportaccountpaymentsjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startexportaccountpaymentsjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs index 8545061504..66772a4d28 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startexportaccountprojectsummaryjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startexportaccountprojectsummaryjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs index 52e84dd728..17656ab616 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startgetaccountprojectinfojob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startgetaccountprojectinfojob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs index fd438becd8..b8f141e351 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs @@ -40,7 +40,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/updateaccountpwpolicy?accountId={accountId}&enforcePolicy={enforcePolicy}&minLength={minLength}&requireChar={requireChar}&requireUpper={requireUpper}&requireNumber={requireNumber}&requireSymbol={requireSymbol}&maxAgeInDays={maxAgeInDays}&require2Auth={require2Auth}&relogin2Auth={relogin2Auth}&idleTimeoutInMinutes={idleTimeoutInMinutes}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/updateaccountpwpolicy?accountId={accountId}&enforcePolicy={enforcePolicy}&minLength={minLength}&requireChar={requireChar}&requireUpper={requireUpper}&requireNumber={requireNumber}&requireSymbol={requireSymbol}&maxAgeInDays={maxAgeInDays}&require2Auth={require2Auth}&relogin2Auth={relogin2Auth}&idleTimeoutInMinutes={idleTimeoutInMinutes}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs index 101e139fdf..31b8d4c196 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs @@ -30,7 +30,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/updateaccountuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&active={active}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/updateaccountuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&active={active}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs index 2ef67d033b..997381a177 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addcreditstoaccount?accountId={accountId}&credits={credits}&reason={reason}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addcreditstoaccount?accountId={accountId}&credits={credits}&reason={reason}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs index 410fbbedbe..6eb31037c4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addgrouptoproject?projectId={projectId}&groupTitle={groupTitle}&groupACLId={groupACLId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addgrouptoproject?projectId={projectId}&groupTitle={groupTitle}&groupACLId={groupACLId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs index 62ad8926b5..5e074a2394 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs @@ -32,7 +32,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addnewusertoaccount?accountId={accountId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addnewusertoaccount?accountId={accountId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs index 328faca62d..b3b99dd8c3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs index 299299c27f..1b789ff575 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addusertogroup?projectId={projectId}&userId={userId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addusertogroup?projectId={projectId}&userId={userId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs index 9bc630c807..64c0cf9c3e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/createaccount?adminId={adminId}&credits={credits}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/createaccount?adminId={adminId}&credits={credits}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs index 4d9b354ce3..9b2a824956 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getaccounttransactions?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getaccounttransactions?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs index d27d48b122..54bfec180c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getactiveuserinfos", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getactiveuserinfos", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs index 07c269228a..a6b6d6251c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getactivitymetrics", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getactivitymetrics", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs index 0818cc51ce..f279fcfe55 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getfilteredprojects?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getfilteredprojects?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs index a81c182814..00b7a090a7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getfilteredprojectsandusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getfilteredprojectsandusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs index e0e01f9f5b..39609b34a5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getfilteredusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getfilteredusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs index a5c6069c3d..d1277f5245 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getmergestatus?mergedProjectId={mergedProjectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getmergestatus?mergedProjectId={mergedProjectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs index fb87d2c49d..94575cdb98 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getprojectsecurityinfo?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getprojectsecurityinfo?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs index 6e3ca71160..7bf7b981da 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getrevenuesegments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getrevenuesegments", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs index 1fcb2db0f1..a8df20fc0e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getsignupsegments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getsignupsegments", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs index 5045170722..c4b02c658d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getuserfulldetailsbyuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getuserfulldetailsbyuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs index b9776c1ce4..7dbdb80fb1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs @@ -30,7 +30,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/mergeprojects?project1Id={project1Id}&project2Id={project2Id}&newTitle={newTitle}&newDescription={newDescription}&creatorId={creatorId}&mergeCodes={mergeCodes}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/mergeprojects?project1Id={project1Id}&project2Id={project2Id}&newTitle={newTitle}&newDescription={newDescription}&creatorId={creatorId}&mergeCodes={mergeCodes}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs index 30ae0f429c..600f7e51ed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/migrateusertoaccount?userToBeMovedId={userToBeMovedId}&accountIdToMoveTo={accountIdToMoveTo}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/migrateusertoaccount?userToBeMovedId={userToBeMovedId}&accountIdToMoveTo={accountIdToMoveTo}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs index a4974e79c2..b2249af3b8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/overrideverify?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/overrideverify?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs index 85b17d8a38..47ec1c6d0a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/processpayment?accountId={accountId}&amount={amount}&memo={memo}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/processpayment?accountId={accountId}&amount={amount}&memo={memo}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs index 8847f16224..7e8450251c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/sendallclientsmessage?title={title}&message={message}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/sendallclientsmessage?title={title}&message={message}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs index 0ffa98d5f7..969a794c51 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountcpupmoverride?accountId={accountId}&cpupmOverride={cpupmOverride}&endDate={endDate:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountcpupmoverride?accountId={accountId}&cpupmOverride={cpupmOverride}&endDate={endDate:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs index 6cc4a8a2eb..942607e231 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountgroupdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountgroupdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs index 3b064b908c..8c066f47b1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountstudentdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountstudentdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs index 0976468f80..57ebe514f8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountuseradminstatus?accountId={accountId}&userId={userId}&isAdmin={isAdmin}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountuseradminstatus?accountId={accountId}&userId={userId}&isAdmin={isAdmin}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs index 9f9056f4e4..679f12b25a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setuserpassword?userId={userId}&rsaEncrptedPass={rsaEncrptedPass}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setuserpassword?userId={userId}&rsaEncrptedPass={rsaEncrptedPass}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs index f2a0b96b34..789ffcc578 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/startadddemoproject?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/startadddemoproject?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs index e31f4c20ba..9370ee9add 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/startexportaccountsjob", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/startexportaccountsjob", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs index 72b712698c..3f1843edb1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/startexportusersjob", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/startexportusersjob", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs index 746b7cdfe9..42d8d972c5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs @@ -50,7 +50,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/submitpayment?accountId={accountId}&amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/submitpayment?accountId={accountId}&amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs index 4ef6a1eb77..6be657b174 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/unlinkuserfromproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/unlinkuserfromproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs index d63c7f17ad..a2f618ed8f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/updateproject?projectId={projectId}&title={title}&adminId={adminId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/updateproject?projectId={projectId}&title={title}&adminId={adminId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs index afd9787bd2..4912089b96 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs @@ -30,7 +30,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/updateusergroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/updateusergroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs index b56f23f485..016fa117d8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs @@ -26,7 +26,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/updateuserinfo?userId={userId}&username={username}&email={email}&phone={phone}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/updateuserinfo?userId={userId}&username={username}&email={email}&phone={phone}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs index be96d51dac..dde833f56f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs @@ -26,7 +26,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/chat/getchatmessages?userId={userId}&projectId={projectId}&lastRevievedProjectMessageId={lastRevievedProjectMessageId}&lastRecievedGlobalMessageId={lastRecievedGlobalMessageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/chat/getchatmessages?userId={userId}&projectId={projectId}&lastRevievedProjectMessageId={lastRevievedProjectMessageId}&lastRecievedGlobalMessageId={lastRecievedGlobalMessageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs index 0f8991ddc8..255cbb08da 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs @@ -20,7 +20,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/chat/getprojectchatusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/chat/getprojectchatusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs index 61efa12701..394a8203b5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/chat/submitprojectchatmessage?projectId={projectId}&userId={userId}&message={message}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/chat/submitprojectchatmessage?projectId={projectId}&userId={userId}&message={message}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs index c28d696724..9ce55ec45e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs @@ -49,7 +49,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/adddataset?projectId={projectId}&userId={userId}&title={title}&description={description}&areExcerptsFiltered={areExcerptsFiltered}&areResourcesFiltered={areResourcesFiltered}&areDescriptorsFiltered={areDescriptorsFiltered}&areTagsFiltered={areTagsFiltered}&areUsersFiltered={areUsersFiltered}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&{string.Join("&", userIds.Select(static x => $"userIds={x}"))}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}&{string.Join("&", excludedExcerptIds.Select(static x => $"excludedExcerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/adddataset?projectId={projectId}&userId={userId}&title={title}&description={description}&areExcerptsFiltered={areExcerptsFiltered}&areResourcesFiltered={areResourcesFiltered}&areDescriptorsFiltered={areDescriptorsFiltered}&areTagsFiltered={areTagsFiltered}&areUsersFiltered={areUsersFiltered}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&{string.Join("&", userIds.Select(static x => $"userIds={x}"))}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}&{string.Join("&", excludedExcerptIds.Select(static x => $"excludedExcerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs index c315f92c5f..6585ad1f59 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs @@ -55,7 +55,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/deletedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/deletedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs index 7fc8f7b3bd..6f1ca33ca6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/getdatasetsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/getdatasetsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs index 54280cd8f5..7403a4e76b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs @@ -55,7 +55,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/updatedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/updatedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs index 81287262cb..fb50daa66a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs @@ -28,7 +28,7 @@ public partial class DescriptorClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptor?projectId={projectId}&userId={userId}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptor?projectId={projectId}&userId={userId}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs index 1ec8ca3dd2..3e49894031 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs @@ -34,7 +34,7 @@ public partial class DescriptorClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptorfield?projectId={projectId}&title={title}&description={description}&type={type}&isDynamic={isDynamic}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptorfield?projectId={projectId}&title={title}&description={description}&type={type}&isDynamic={isDynamic}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs index e581864013..ef3ee8e492 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs @@ -27,7 +27,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptorlink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}&{string.Join("&", dynamicValues.Select(static x => $"dynamicValues={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptorlink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}&{string.Join("&", dynamicValues.Select(static x => $"dynamicValues={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs index 6b14105fea..35a6baeabd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs @@ -26,7 +26,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptorset?projectId={projectId}&title={title}&description={description}&createByUserId={createByUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptorset?projectId={projectId}&title={title}&description={description}&createByUserId={createByUserId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs index b80c567893..430c145f51 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs @@ -32,7 +32,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddynamicvalue?projectId={projectId}&setId={setId}&descriptorId={descriptorId}&fieldId={fieldId}&resourceId={resourceId}&data={data}&optionId={optionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddynamicvalue?projectId={projectId}&setId={setId}&descriptorId={descriptorId}&fieldId={fieldId}&resourceId={resourceId}&data={data}&optionId={optionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs index 955df3d440..d50ab376ba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/addlinks?projectId={projectId}&{string.Join("&", links.Select(static x => $"links={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/addlinks?projectId={projectId}&{string.Join("&", links.Select(static x => $"links={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs index 913506c0dc..fd46c5d7d3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs @@ -29,7 +29,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/addorupdatedynamicvalues?projectId={projectId}&resourceId={resourceId}&setId={setId}&descriptorId={descriptorId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/addorupdatedynamicvalues?projectId={projectId}&resourceId={resourceId}&setId={setId}&descriptorId={descriptorId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs index f5489a94d5..f2b44a413b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs @@ -36,7 +36,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletedescriptor?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByIDL={createByIDL}&DescriptorSetIDL={descriptorSetIDL}&ValuesData={valuesData}&DynamicValuesData={dynamicValuesData}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletedescriptor?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByIDL={createByIDL}&DescriptorSetIDL={descriptorSetIDL}&ValuesData={valuesData}&DynamicValuesData={dynamicValuesData}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs index 7c9e8ca081..e40e02fd80 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs @@ -38,7 +38,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletedescriptorfield?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&DescriptorSetIDL={descriptorSetIDL}&Type={type}&Title={title}&Description={description}&IsDynamicField={isDynamicField}&SortOrder={sortOrder}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletedescriptorfield?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&DescriptorSetIDL={descriptorSetIDL}&Type={type}&Title={title}&Description={description}&IsDynamicField={isDynamicField}&SortOrder={sortOrder}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs index ff1d161def..e5a5cbb241 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletedescriptors?projectId={projectId}&{string.Join("&", descriptorsIds.Select(static x => $"descriptorsIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletedescriptors?projectId={projectId}&{string.Join("&", descriptorsIds.Select(static x => $"descriptorsIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs index 844e538e0d..a7f996a3b2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletelink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletelink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs index f10fde2c23..d68cbd6e9e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs @@ -22,7 +22,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/forcedeletedescriptorsetpolled?projectIDL={projectIDL}&descriptorSetId={descriptorSetId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/forcedeletedescriptorsetpolled?projectIDL={projectIDL}&descriptorSetId={descriptorSetId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs index 973ff4f070..4dc132ddd4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getconvertfieldtypejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getconvertfieldtypejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs index 703100ac9a..e09c56361f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getdesdatafromfilejobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getdesdatafromfilejobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs index 330d4d6c8b..09ae161143 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getdesfieldimportdatafromfile?relativeFileURL={relativeFileURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getdesfieldimportdatafromfile?relativeFileURL={relativeFileURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs index 323568576b..afb2b7ba5a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getdynamicvaluesbyprojectid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getdynamicvaluesbyprojectid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs index 2f47b0989d..ae91e3bc19 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorfieldvalues?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorfieldvalues?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs index 831ea4ee9b..adcdf218c3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs index ce9be918c6..2afa1a10c2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorprops?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorprops?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs index 964db2279f..a3cdb1be43 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorspaged?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorspaged?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs index ddfd0e5f29..0c0e84bce1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs @@ -22,7 +22,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getresourcelinks?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getresourcelinks?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs index e5e964d8b1..30da3286fc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs @@ -29,7 +29,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/importfields?projectId={projectId}&userId={userId}&{string.Join("&", fieldInfos.Select(static x => $"fieldInfos={x}"))}&existingSetId={existingSetId}&newSetTitle={newSetTitle}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/importfields?projectId={projectId}&userId={userId}&{string.Join("&", fieldInfos.Select(static x => $"fieldInfos={x}"))}&existingSetId={existingSetId}&newSetTitle={newSetTitle}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs index 19e248ecfb..033473954f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/isforcedeletedescriptorsetpolledcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/isforcedeletedescriptorsetpolledcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs index af5aab9a95..0c49e1c933 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startconvertfieldtypejob?projectId={projectId}&setId={setId}&fieldId={fieldId}&newFieldType={newFieldType}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startconvertfieldtypejob?projectId={projectId}&setId={setId}&fieldId={fieldId}&newFieldType={newFieldType}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs index 04ca6e954e..3608fd6906 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs @@ -27,7 +27,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startexportdescriptorsjob?projectId={projectId}&setId={setId}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startexportdescriptorsjob?projectId={projectId}&setId={setId}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs index 91d740231d..c1eac52d34 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startexportfieldsjob?projectId={projectId}&setId={setId}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startexportfieldsjob?projectId={projectId}&setId={setId}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs index e7a801030b..9bd7cd02de 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startgetdesdatafromfilejob?localFileURL={localFileURL}&setId={setId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startgetdesdatafromfilejob?localFileURL={localFileURL}&setId={setId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs index 3425e840d0..3160980e35 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs @@ -27,7 +27,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startimportdescriptorsjob?projectId={projectId}&userId={userId}&setId={setId}&{string.Join("&", descriptorInfos.Select(static x => $"descriptorInfos={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startimportdescriptorsjob?projectId={projectId}&userId={userId}&setId={setId}&{string.Join("&", descriptorInfos.Select(static x => $"descriptorInfos={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs index b13cbe1bac..c68af5cb48 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs @@ -34,7 +34,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatedescriptorset?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreatedByUserId={createdByUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatedescriptorset?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreatedByUserId={createdByUserId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs index 0891b9b99b..fb6b75d2ed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs @@ -33,7 +33,7 @@ public partial class DescriptorClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatefieldandoptions?projectId={projectId}&fieldId={fieldId}&title={title}&description={description}&{string.Join("&", deletedOptionIds.Select(static x => $"deletedOptionIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatefieldandoptions?projectId={projectId}&fieldId={fieldId}&title={title}&description={description}&{string.Join("&", deletedOptionIds.Select(static x => $"deletedOptionIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs index 1c53cf409b..a8f38e7e7b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatefieldorders?projectId={projectId}&{string.Join("&", fields.Select(static x => $"fields={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatefieldorders?projectId={projectId}&{string.Join("&", fields.Select(static x => $"fields={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs index 3aacdb0d03..638181da24 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatevalues?projectId={projectId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatevalues?projectId={projectId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs index 92dcb8cd4f..254a5f8420 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs @@ -32,7 +32,7 @@ public partial class ErrorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/error/processuierror?projectId={projectId}&userId={userId}&workspace={workspace}&errorCode={errorCode}&message={message}¤tTarget={currentTarget}&stacktrace={stacktrace}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/error/processuierror?projectId={projectId}&userId={userId}&workspace={workspace}&errorCode={errorCode}&message={message}¤tTarget={currentTarget}&stacktrace={stacktrace}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs index 412da92050..b0a0a92ccd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs @@ -37,7 +37,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/adddocumentexcerptwithtags?projectId={projectId}&userId={userId}&resourceId={resourceId}&title={title}&description={description}&startIndex={startIndex}&endIndex={endIndex}&excerptText={excerptText}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/adddocumentexcerptwithtags?projectId={projectId}&userId={userId}&resourceId={resourceId}&title={title}&description={description}&startIndex={startIndex}&endIndex={endIndex}&excerptText={excerptText}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs index beaa0ac390..48d6d96df5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs index 628f294553..22a0908be2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addpdfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addpdfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs index 5362305f80..b2bdd245e4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addpdfswfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addpdfswfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs index 55597da0c4..eac7e4a6ee 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs @@ -35,7 +35,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addpdfswftextexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&pageIndex={pageIndex}&start={start}&end={end}&text={text}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addpdfswftextexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&pageIndex={pageIndex}&start={start}&end={end}&text={text}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs index 971b5b679a..3f59933082 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addvideoexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addvideoexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs index c32382388d..81b7162d29 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs @@ -22,7 +22,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/deleteexcerpt?projectId={projectId}&excerptId={excerptId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/deleteexcerpt?projectId={projectId}&excerptId={excerptId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs index 2d2b3f4adc..52d3b03bd6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs @@ -24,7 +24,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/getexcerptsbyprojectid?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/getexcerptsbyprojectid?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs index cbe809432f..10d5c2e794 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/getsearchexcerptsjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/getsearchexcerptsjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs index b1b839a014..9d97c67985 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/isdeleteexcerptsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/isdeleteexcerptsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs index e226bd3c27..a5f7e09ef9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/startdeleteexcerptsjob?currentProjectId={currentProjectId}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/startdeleteexcerptsjob?currentProjectId={currentProjectId}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs index 94c2fe82ad..b73b95af48 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/startsearchexcerptsjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/startsearchexcerptsjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs index 1040d8a86e..b4f747c6ee 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs @@ -30,7 +30,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updateexcerptrange?projectId={projectId}&userId={userId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}&updatedTextURI={updatedTextURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updateexcerptrange?projectId={projectId}&userId={userId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}&updatedTextURI={updatedTextURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs index 86cfb2d50a..3bdec31b88 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs @@ -24,7 +24,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updateexcerpttext?projectIDL={projectIDL}&excerptId={excerptId}&text={text}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updateexcerpttext?projectIDL={projectIDL}&excerptId={excerptId}&text={text}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs index e465cd8c18..8cdd1a75ed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs @@ -28,7 +28,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updateimageexcerptregion?projectId={projectId}&userId={userId}&excerptId={excerptId}&start={start}&end={end}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updateimageexcerptregion?projectId={projectId}&userId={userId}&excerptId={excerptId}&start={start}&end={end}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs index 05dc90cfd5..ebcb8b745f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs @@ -28,7 +28,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updatepdfswfimageexcerptregion?projectId={projectId}¤tUserId={currentUserId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updatepdfswfimageexcerptregion?projectId={projectId}¤tUserId={currentUserId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs index 748cbef446..968241cf95 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/getexcerptsexportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/getexcerptsexportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs index 1984d28d1e..0a3d8997a3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/getexcerptsexporturl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/getexcerptsexporturl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs index c2214d638b..c50d5a8fbb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/getexportjoburi?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/getexportjoburi?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs index cc482cb49f..2ec6e68288 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/isexportjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/isexportjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs index 2470414c7b..88fea7df56 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs @@ -54,7 +54,7 @@ public partial class ExportClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexcerptsexport?projectId={projectId}&FileExtension={fileExtension}&ExCopyMode={exCopyMode}&SortMode={sortMode}&ExRange={exRange}&ExCreator={exCreator}&ExDate={exDate}&DesInfo={desInfo}&DocTitle={docTitle}&DocCreator={docCreator}&DocDate={docDate}&TagApplied={tagApplied}&TagWeight={tagWeight}&TagRange={tagRange}&Memos={memos}&symKeyEncrypted={symKeyEncrypted}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexcerptsexport?projectId={projectId}&FileExtension={fileExtension}&ExCopyMode={exCopyMode}&SortMode={sortMode}&ExRange={exRange}&ExCreator={exCreator}&ExDate={exDate}&DesInfo={desInfo}&DocTitle={docTitle}&DocCreator={docCreator}&DocDate={docDate}&TagApplied={tagApplied}&TagWeight={tagWeight}&TagRange={tagRange}&Memos={memos}&symKeyEncrypted={symKeyEncrypted}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs index 4cebefba17..822bcc55d4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs @@ -35,7 +35,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexportbubblechartjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexportbubblechartjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs index 6f926364d8..fca1f45ed7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs @@ -25,7 +25,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexporthierarchicalchartjob?projectId={projectId}&Title={title}&{string.Join("&", parentItems.Select(static x => $"parentItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexporthierarchicalchartjob?projectId={projectId}&Title={title}&{string.Join("&", parentItems.Select(static x => $"parentItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs index 680f7fab91..2965090e12 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexportsingleserieschartjob?projectId={projectId}&{string.Join("&", exportInfo.Select(static x => $"exportInfo={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexportsingleserieschartjob?projectId={projectId}&{string.Join("&", exportInfo.Select(static x => $"exportInfo={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs index 1a4e02b870..31150c38d1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs @@ -35,7 +35,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startgridchartexportjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startgridchartexportjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileEmailFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileEmailFile.g.verified.cs index e3f55a2e15..2dc530be5f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileEmailFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileEmailFile.g.verified.cs @@ -26,7 +26,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/emailfile?fileURI={fileURI}&attachmentFileName={attachmentFileName}&emailAddress={emailAddress}&subject={subject}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/emailfile?fileURI={fileURI}&attachmentFileName={attachmentFileName}&emailAddress={emailAddress}&subject={subject}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs index b9fcd83165..111dd55155 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getconvertpdf2swfresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getconvertpdf2swfresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs index 3f522457a8..3e50b4ab32 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getexportjobfileuri?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getexportjobfileuri?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs index a00dd607a2..c3c0226a45 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getfxmldocjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getfxmldocjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs index 3283e678f8..dcb308cbf3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs @@ -22,7 +22,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getfxmldocxpolled?projectId={projectId}&fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getfxmldocxpolled?projectId={projectId}&fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs index 38be16486e..a3827f0b29 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getmovefilefromtemptopermjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getmovefilefromtemptopermjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetWriteKey.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetWriteKey.g.verified.cs index 6000655878..47d25eabe3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetWriteKey.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileGetWriteKey.g.verified.cs @@ -18,7 +18,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/file/getwritekey", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/file/getwritekey", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs index 6699c2efcd..8fe0a6d86b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/isjobmanagerjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/isjobmanagerjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs index ad94178dae..8bd2f435f7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs @@ -22,7 +22,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/startconvertpdf2swf?projectId={projectId}&pdfURI={pdfURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/startconvertpdf2swf?projectId={projectId}&pdfURI={pdfURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs index 7fd2adb15b..2846bd3add 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs @@ -26,7 +26,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/storeprojectfilestring?projectId={projectId}&fileStorageType={fileStorageType}&extension={extension}&text={text}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/storeprojectfilestring?projectId={projectId}&fileStorageType={fileStorageType}&extension={extension}&text={text}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs index 0118b0f1a7..bcdfd4026f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileStorageClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/getbytesfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/getbytesfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs index 0b5ed05145..3f5c5f3269 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileStorageClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/getstringfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/getstringfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs index 596d3bd6ca..aaaa693181 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs @@ -28,7 +28,7 @@ public partial class FileStorageClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/uploadtofilestorage?name={name}&projectId={projectId}&uploadType={uploadType}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/uploadtofilestorage?name={name}&projectId={projectId}&uploadType={uploadType}", global::System.UriKind.RelativeOrAbsolute)); var __base64 = global::System.Convert.ToBase64String(request); httpRequest.Content = new global::System.Net.Http.StringContent( content: __base64, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs index 033997a8fb..859d9d10e3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs @@ -20,7 +20,7 @@ public partial class LoginClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/login", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/login", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs index 03b204349a..67a4282c52 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/rsa", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/rsa", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetClientVersions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetClientVersions.g.verified.cs index 0f3874b4ee..34df75935a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetClientVersions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetClientVersions.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/getclientversions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/getclientversions", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs index 84f2189849..39c3adf019 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/getservicemessages", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/getservicemessages", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs index b8e2ee54d6..c0dfef95f1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/gettopblogposts", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/gettopblogposts", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.UnsafeLogin.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.UnsafeLogin.g.verified.cs index 30d3cca9ca..83fcdba896 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.UnsafeLogin.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.UnsafeLogin.g.verified.cs @@ -20,7 +20,7 @@ public partial class LoginClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/unsafelogin", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/unsafelogin", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.Validate2Factor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.Validate2Factor.g.verified.cs index f62f0baad4..bba5aa0bf0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.Validate2Factor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.LoginClient.Validate2Factor.g.verified.cs @@ -22,7 +22,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/validate2factor?username={username}&authToken={authToken}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/validate2factor?username={username}&authToken={authToken}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddFolder.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddFolder.g.verified.cs index 6e45139943..fb8a2a204c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddFolder.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddFolder.g.verified.cs @@ -24,7 +24,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/addfolder?projectId={projectId}&title={title}&parentFolderId={parentFolderId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/addfolder?projectId={projectId}&title={title}&parentFolderId={parentFolderId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemo.g.verified.cs index a7bcba9a02..7631177bfe 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemo.g.verified.cs @@ -35,7 +35,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/addmemo?projectId={projectId}&title={title}&dataPath={dataPath}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/addmemo?projectId={projectId}&title={title}&dataPath={dataPath}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs index f79ce0b279..093eff0704 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs @@ -25,7 +25,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/addmemofolderlinks?projectId={projectId}&memoId={memoId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/addmemofolderlinks?projectId={projectId}&memoId={memoId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs index 684b253d4b..0962b04ddf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs @@ -26,7 +26,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/deletefolder?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/deletefolder?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs index 8af833645b..ab6d1dbe93 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs @@ -38,7 +38,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/deletememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/deletememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs index 60dbdae816..40fc0680af 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/getcopymemostodocumentsjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/getcopymemostodocumentsjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs index cedde62bc3..f2ad7b644b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/getimportmemosxmlresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/getimportmemosxmlresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs index 4eafde6593..6335a2085c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/getsearchmemosjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/getsearchmemosjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs index 1993176da4..91263559e7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/iscopymemostodocumentsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/iscopymemostodocumentsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs index ce651da5b1..35a75fe170 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs @@ -25,7 +25,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/linkfolderstomemos?projectId={projectId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/linkfolderstomemos?projectId={projectId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkObject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkObject.g.verified.cs index 34b847bdef..76662feb97 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkObject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLinkObject.g.verified.cs @@ -38,7 +38,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/linkobject?projectId={projectId}&memoId={memoId}&Id={id1}&Position={position1}&Id={id2}&Position={position2}&Id={id3}&Position={position3}&Id={id4}&Position={position4}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/linkobject?projectId={projectId}&memoId={memoId}&Id={id1}&Position={position1}&Id={id2}&Position={position2}&Id={id3}&Position={position3}&Id={id4}&Position={position4}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs index 79a46aa611..1144a8438d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/loadprojectmemosfoldersandlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/loadprojectmemosfoldersandlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs index 1279ed4168..23a16c82ab 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs @@ -25,7 +25,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startcopymemostodocumentsjob?projectId={projectId}&userId={userId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startcopymemostodocumentsjob?projectId={projectId}&userId={userId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs index 67a8d9bde9..71efc9a9b7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs @@ -37,7 +37,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startexportmemos?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&description={description}&extension={extension}&includeCodes={includeCodes}&includeMedia={includeMedia}&includeExcerpts={includeExcerpts}&includeDescriptors={includeDescriptors}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startexportmemos?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&description={description}&extension={extension}&includeCodes={includeCodes}&includeMedia={includeMedia}&includeExcerpts={includeExcerpts}&includeDescriptors={includeDescriptors}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs index 68eac91675..a97a407a00 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs @@ -33,7 +33,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startexportmemosxml?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&codeSelection={codeSelection}&mediaSelection={mediaSelection}&excerptsSelection={excerptsSelection}&descriptorsSelection={descriptorsSelection}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startexportmemosxml?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&codeSelection={codeSelection}&mediaSelection={mediaSelection}&excerptsSelection={excerptsSelection}&descriptorsSelection={descriptorsSelection}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs index 1f76ec0a8b..7d41dd9772 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs @@ -22,7 +22,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startimportmemosxml?projectId={projectId}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startimportmemosxml?projectId={projectId}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs index 8a0db0390c..b70c5550e7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startsearchmemosjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startsearchmemosjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs index a7dd5539e0..7900b1049a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs @@ -30,7 +30,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/unlinkobject?projectId={projectId}&memoId={memoId}&resourceId={resourceId}&excerptId={excerptId}&descriptorId={descriptorId}&tagId={tagId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/unlinkobject?projectId={projectId}&memoId={memoId}&resourceId={resourceId}&excerptId={excerptId}&descriptorId={descriptorId}&tagId={tagId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs index 277bdba095..2b6420e82a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs @@ -24,7 +24,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/updatefoldertitle?projectId={projectId}&folderId={folderId}&title={title}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/updatefoldertitle?projectId={projectId}&folderId={folderId}&title={title}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs index 822ee3fe80..294598b9a8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs @@ -49,7 +49,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/updatememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/updatememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs index 8e866ecfbb..85a09ba667 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs @@ -24,7 +24,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/addprojectbyuser?userId={userId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/addprojectbyuser?userId={userId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs index fafd9a69f0..f15297409f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs @@ -26,7 +26,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/addprojectencryptedbyuser?userId={userId}&title={title}&decription={decription}&symKeyHash={symKeyHash}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/addprojectencryptedbyuser?userId={userId}&title={title}&decription={decription}&symKeyHash={symKeyHash}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs index d7f3178ef5..5f1d187d0c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs @@ -22,7 +22,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/checkencrypteddata?projectId={projectId}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/checkencrypteddata?projectId={projectId}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs index 21d53c28da..388c5778c9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/project/getallprojectsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/project/getallprojectsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs index 0c45d3f73d..f1e2e78ea1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getcopyprojectstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getcopyprojectstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs index e3b54f7fe3..ba890b52cc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getexportaccountprojectsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getexportaccountprojectsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs index f711ce338c..de23fae61a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectbyid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectbyid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs index 0fb99d380c..28647cfb01 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectcopyjobproject?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectcopyjobproject?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs index 7295780327..bb4cdc79e8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectimportjobexceptions?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectimportjobexceptions?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs index 8f1c33cf0a..ac48fcc860 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs index fd4eff631f..2e94853c3e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/isdeletedprojectjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/isdeletedprojectjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs index e02540b2b3..a973892218 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/renameproject?projectId={projectId}&newTitle={newTitle}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/renameproject?projectId={projectId}&newTitle={newTitle}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs index 6424257a6c..11cd6cfc01 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startcopyprojectjob?userId={userId}&projectId={projectId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startcopyprojectjob?userId={userId}&projectId={projectId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs index cad8d34e4d..ac30323065 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startdeleteproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startdeleteproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs index 1105e92ad8..7817f098b1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs @@ -28,7 +28,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startprojectexportjob?projectId={projectId}&password={password}&email={email}&extension={extension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startprojectexportjob?projectId={projectId}&password={password}&email={email}&extension={extension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs index cf6fb7ed87..52c509e854 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startprojectimportjob?projectId={projectId}&fileURI={fileURI}&password={password}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startprojectimportjob?projectId={projectId}&fileURI={fileURI}&password={password}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs index 8d5f843b55..1666c10ca6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/updateproject?projectId={projectId}&updatedTitle={updatedTitle}&updatedDescription={updatedDescription}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/updateproject?projectId={projectId}&updatedTitle={updatedTitle}&updatedDescription={updatedDescription}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs index 4bea5f167b..d11801de4d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs @@ -28,7 +28,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addaudioresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addaudioresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs index bc95406785..8506322d3e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs @@ -32,7 +32,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addresource?projectId={projectId}&userId={userId}&title={title}&description={description}&resourceType={resourceType}&fileURL={fileURL}&length={length}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addresource?projectId={projectId}&userId={userId}&title={title}&description={description}&resourceType={resourceType}&fileURL={fileURL}&length={length}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs index d04e6dd3dc..cf33edca05 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addtranscript?projectId={projectId}¤tUserId={currentUserId}&resourceId={resourceId}&transcriptData={transcriptData}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addtranscript?projectId={projectId}¤tUserId={currentUserId}&resourceId={resourceId}&transcriptData={transcriptData}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs index 6eeb04b240..a4ab16bd73 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs @@ -28,7 +28,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addvideoresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addvideoresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs index 70bf6a1731..a4d9f08f9f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/clonedocument?projectId={projectId}&resourceId={resourceId}&cloneExcerpts={cloneExcerpts}&cloneTagApps={cloneTagApps}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/clonedocument?projectId={projectId}&resourceId={resourceId}&cloneExcerpts={cloneExcerpts}&cloneTagApps={cloneTagApps}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs index e3d9c8efa0..51c7251658 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs @@ -46,7 +46,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/deleteresource?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&Type={type}&DataPath={dataPath}&Length={length}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByUserIDL={createByUserIDL}&IsDataLocked={isDataLocked}&MetaData={metaData}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/deleteresource?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&Type={type}&DataPath={dataPath}&Length={length}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByUserIDL={createByUserIDL}&IsDataLocked={isDataLocked}&MetaData={metaData}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs index ad8d1ff6d5..ec2d349b1c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs @@ -32,7 +32,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/deletetranscript?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/deletetranscript?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs index c28ac3ff4a..77520f9132 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaddimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaddimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs index 02620eb582..5cb29fe4c9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaddpdfimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaddpdfimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs index 6f9762d727..e94c53ac66 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaddpdfswfresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaddpdfswfresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs index 20329a176f..cee906c084 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaudioresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaudioresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs index 1e540f1855..9c3e3cbe6b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaudiosample?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaudiosample?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs index 8e4e4acb2d..53320c8515 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getdocumentsearchjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getdocumentsearchjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs index ff769ab996..a5bda2d031 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getexportjoburl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getexportjoburl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs index c6cefab564..08a176211f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getexportpdfswfjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getexportpdfswfjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs index 4f4e6ada2a..ba72903b42 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getresourcesyncitems?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getresourcesyncitems?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs index ff4aea4044..9602f25692 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getresourcesbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getresourcesbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs index 0b93ef0041..5562a066a3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/gettranscripsts?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/gettranscripsts?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs index 58d78a399b..dd6ec89399 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/gettranscriptexportjobid?projectId={projectId}&transcriptId={transcriptId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/gettranscriptexportjobid?projectId={projectId}&transcriptId={transcriptId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs index d9819758fb..a853822483 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getvideoresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getvideoresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs index a6b0ca848e..0aee817613 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs index 4db7504fa3..477e72de23 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/isresourceaudioconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/isresourceaudioconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs index d05aff2aae..d3bae156cc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/isresourcevideoconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/isresourcevideoconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs index d54c7a1bd2..2ce9d646f6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/lockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/lockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs index 12f53d9b98..4474b94a11 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startaddimageresource?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startaddimageresource?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs index 279ff195d3..20ac64292d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startaddpdfimageresourcejob?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startaddpdfimageresourcejob?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs index 5c8af40458..db28eb531d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startaddpdfswfresourcejob?projectId={projectId}&title={title}&fileUri={fileUri}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startaddpdfswfresourcejob?projectId={projectId}&title={title}&fileUri={fileUri}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs index c3c55a8c60..df340acad7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startdeleteresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startdeleteresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs index 9a2bd06bdf..f3a92d489d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startdocumentsearchjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startdocumentsearchjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs index bf90d10974..13f0ceeae5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs @@ -30,7 +30,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startexportdocumentjobwithrtl?projectId={projectId}&resourceId={resourceId}&includeExRegions={includeExRegions}&rtl={rtl}&exportExtension={exportExtension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startexportdocumentjobwithrtl?projectId={projectId}&resourceId={resourceId}&includeExRegions={includeExRegions}&rtl={rtl}&exportExtension={exportExtension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs index 6c6b1f4f12..cf886a3376 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startexportpdfswfjob?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startexportpdfswfjob?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs index 63b1b71532..769b169c46 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs @@ -27,7 +27,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startexportresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&includeDescriptorInfo={includeDescriptorInfo}&includeCodeCounts={includeCodeCounts}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startexportresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&includeDescriptorInfo={includeDescriptorInfo}&includeCodeCounts={includeCodeCounts}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs index 88b50c8451..2d707f4d09 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/unlockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/unlockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs index b7b02dac90..d1983291ba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs @@ -31,7 +31,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updatedocumentdataandexcerpts?projectId={projectId}&userId={userId}&resourceId={resourceId}&updatedTextDataURI={updatedTextDataURI}&updatedLength={updatedLength}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updatedocumentdataandexcerpts?projectId={projectId}&userId={userId}&resourceId={resourceId}&updatedTextDataURI={updatedTextDataURI}&updatedLength={updatedLength}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs index 0b59819f57..dcda789864 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updateresource?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updateresource?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs index 266cef174e..82bca33d9f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs @@ -32,7 +32,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updateresourceanddata?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}&fileURL={fileURL}&length={length}&isLocked={isLocked}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updateresourceanddata?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}&fileURL={fileURL}&length={length}&isLocked={isLocked}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs index e6c552beb7..6b958f5ac0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs @@ -37,7 +37,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updatetranscriptdata?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}&transcriptData={transcriptData}&{string.Join("&", syncItems.Select(static x => $"syncItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updatetranscriptdata?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}&transcriptData={transcriptData}&{string.Join("&", syncItems.Select(static x => $"syncItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs index 3011904ceb..0903651612 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs @@ -24,7 +24,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/addgroup?projectId={projectId}&title={title}&accessListId={accessListId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/addgroup?projectId={projectId}&title={title}&accessListId={accessListId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs index da5bfe60cd..150bb473fe 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs @@ -30,7 +30,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/deletegroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/deletegroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs index cb4c17bb33..c279d73f3f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/getallaccesslists", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/getallaccesslists", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs index 4dacf87cea..1e91780eb6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs @@ -20,7 +20,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/getprojectgrouplinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/getprojectgrouplinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs index 297c885954..ed68036a3a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs @@ -20,7 +20,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/getprojectgroups?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/getprojectgroups?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs index 8367811691..b9680e49b1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/getsuperuserids", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/getsuperuserids", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs index 40c442ee4c..ce0257f0cf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/getversion", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/getversion", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs index 8a96b63e25..e62e67dec9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs @@ -22,7 +22,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/impersonateuser?username={username}&email={email}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/impersonateuser?username={username}&email={email}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs index 664e91b71d..9389d6818d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs @@ -24,7 +24,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/linkuser?userId={userId}&projectId={projectId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/linkuser?userId={userId}&projectId={projectId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs index 8ee341d517..42fd272d22 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs @@ -26,7 +26,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/linkuserwithinvitation?userId={userId}&projectId={projectId}&groupId={groupId}&invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/linkuserwithinvitation?userId={userId}&projectId={projectId}&groupId={groupId}&invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs index 1b7af21f37..eeaa089b89 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/resetuserpasswordbyemail?userEmail={userEmail}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/resetuserpasswordbyemail?userEmail={userEmail}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs index 1f48eb5855..523320d18b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/resetuserpasswordbyusername?username={username}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/resetuserpasswordbyusername?username={username}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs index 503f547ecb..cea4a86fbb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/stopimpersonation", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/stopimpersonation", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs index 92b94388b7..c8831e759d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/unlinkuserfromproject?userId={userId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/unlinkuserfromproject?userId={userId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs index d30e4bbb93..45b2388e12 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs @@ -30,7 +30,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/updategroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/updategroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs index 00aa0e9f36..de441e96f7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class SurveyImportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/surveyimport/getsurveyimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/surveyimport/getsurveyimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs index 49d5cc3e2a..7292309c35 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class SurveyImportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/surveyimport/startsurveyimportjob?projectId={projectId}&surveyUploadedFileURL={surveyUploadedFileURL}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/surveyimport/startsurveyimportjob?projectId={projectId}&surveyUploadedFileURL={surveyUploadedFileURL}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs index 3254cb5422..82f987d867 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs @@ -30,7 +30,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addexcerpttagapplication?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&tagId={tagId}&weight={weight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addexcerpttagapplication?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&tagId={tagId}&weight={weight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs index 093b76167a..1bd0fb62b8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs @@ -29,7 +29,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addexcerpttagapplications?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addexcerpttagapplications?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTag.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTag.g.verified.cs index cbd3185180..2662e0ba46 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTag.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTag.g.verified.cs @@ -36,7 +36,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addtag?projectId={projectId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addtag?projectId={projectId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagLink.g.verified.cs index 2bf97c90eb..8b95aaa744 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagLink.g.verified.cs @@ -26,7 +26,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addtaglink?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}&isParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addtaglink?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}&isParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs index a5d2ad2e6e..5a9c390875 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs @@ -38,7 +38,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addtagwithparent?proejctId={proejctId}&parentTagId={parentTagId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addtagwithparent?proejctId={proejctId}&parentTagId={parentTagId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs index a21a4d597b..4f6f6ceafa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs @@ -46,7 +46,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/deletetagbyjob?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/deletetagbyjob?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs index 07350342b5..7bed474a6d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs @@ -34,7 +34,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/deletetaglink?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/deletetaglink?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs index 7b6542caf8..4d82df480b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getdeletetagbyjobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getdeletetagbyjobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs index 4907f59c51..1f51a55c63 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs @@ -26,7 +26,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getprojecttagsexportfileurljobid?projectId={projectId}&fileExtension={fileExtension}&includeExcerpts={includeExcerpts}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getprojecttagsexportfileurljobid?projectId={projectId}&fileExtension={fileExtension}&includeExcerpts={includeExcerpts}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs index 8279330517..ec1358d454 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getprojecttagsexportjobfileurl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getprojecttagsexportjobfileurl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs index dea5768bb7..02db749638 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getretroupcodejobtagapplications?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getretroupcodejobtagapplications?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs index 8475882eb1..eb5cf6f2cb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettagapplicationsbyproject?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettagapplicationsbyproject?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs index 448cf6491e..1a0850b8c8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettaglinksbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettaglinksbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs index 053b067c71..56172e67ce 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettagsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettagsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs index 551754ff9e..12222ba533 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettagsfromspreadsheetjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettagsfromspreadsheetjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsJobComplete.g.verified.cs index d71a957788..bdec277aa4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs index 4bdf737405..6f1a821366 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/isretroupcodejobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/isretroupcodejobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagMergeTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagMergeTags.g.verified.cs index cc200596c4..1aa02e8c86 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagMergeTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagMergeTags.g.verified.cs @@ -24,7 +24,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/mergetags?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/mergetags?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs index 1680553442..6b4c724b28 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs @@ -22,7 +22,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/removetagapplication?projectId={projectId}&tagAppId={tagAppId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/removetagapplication?projectId={projectId}&tagAppId={tagAppId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs index f9ba3a7c18..ff8b7566bd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/startgettagsfromimportjob?fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/startgettagsfromimportjob?fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs index b1c0cfdfa8..8aca63478f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/startimporttagsjob?projectId={projectId}&{string.Join("&", tagVOs.Select(static x => $"tagVOs={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/startimporttagsjob?projectId={projectId}&{string.Join("&", tagVOs.Select(static x => $"tagVOs={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs index fdf043d7f7..cda5a37ceb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/startretroupcodejob?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/startretroupcodejob?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTag.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTag.g.verified.cs index 3dcd2000b4..f96e983ad3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTag.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTag.g.verified.cs @@ -44,7 +44,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetag?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetag?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs index ebae35049f..94cb92a25d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs @@ -24,7 +24,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetagappweight?currentProjectId={currentProjectId}&tagAppId={tagAppId}&newWeight={newWeight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetagappweight?currentProjectId={currentProjectId}&tagAppId={tagAppId}&newWeight={newWeight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs index 7e2e4dc5c0..923be32a36 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs @@ -32,7 +32,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetaglink?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetaglink?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs index 164968977a..e817987735 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs @@ -23,7 +23,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetagorders?projectId={projectId}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetagorders?projectId={projectId}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs index b3d8e32702..53e32efc29 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs @@ -33,7 +33,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/addtest?projectId={projectId}&trainingTestType={trainingTestType}&title={title}&description={description}&createdUserId={createdUserId}&{string.Join("&", exIds.Select(static x => $"exIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/addtest?projectId={projectId}&trainingTestType={trainingTestType}&title={title}&description={description}&createdUserId={createdUserId}&{string.Join("&", exIds.Select(static x => $"exIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs index 4a85630810..8e85822414 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs @@ -38,7 +38,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/deletetest?ProjectIdKey={projectIdKey}&Id={id}&TestType={testType}&Title={title}&Description={description}&CreatedOn={createdOn:yyyy-MM-ddTHH:mm:ssZ}&ProjectId={projectId}&ExcerptCount={excerptCount}&TagCount={tagCount}&Creator={creator}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/deletetest?ProjectIdKey={projectIdKey}&Id={id}&TestType={testType}&Title={title}&Description={description}&CreatedOn={createdOn:yyyy-MM-ddTHH:mm:ssZ}&ProjectId={projectId}&ExcerptCount={excerptCount}&TagCount={tagCount}&Creator={creator}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs index 58fe46ec74..3d0f7c0de3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/getaddtestresult?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/getaddtestresult?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs index 275143aa86..e6a8dd78f1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs @@ -22,7 +22,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestexcerpts?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestexcerpts?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs index 52fe6b6358..848942cab8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs @@ -22,7 +22,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestmastertagapplications?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestmastertagapplications?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs index 02f25d8277..eb59c0299d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs @@ -24,7 +24,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestresulttagapps?projectId={projectId}&testId={testId}&testResultId={testResultId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestresulttagapps?projectId={projectId}&testId={testId}&testResultId={testResultId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs index 08b039e61b..c954c9930c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestresultsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestresultsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs index 8a2d274a94..a0bda62ba9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs @@ -22,7 +22,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettesttags?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettesttags?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs index 6259b08e50..c26493081f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs index d54ac0b5e2..91d271b702 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/istestaddcomplete?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/istestaddcomplete?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs index c35f71f395..e904e1cd49 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs @@ -31,7 +31,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/savetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/savetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs index 919404f8f0..35c7dfd8cd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/startexporttestresultjob?projectId={projectId}&testResultId={testResultId}&fileExtension={fileExtension}&cryptoKey={cryptoKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/startexporttestresultjob?projectId={projectId}&testResultId={testResultId}&fileExtension={fileExtension}&cryptoKey={cryptoKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs index 7edc4dcbf5..2b99ebbc51 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs @@ -33,7 +33,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/updatetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&resultId={resultId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/updatetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&resultId={resultId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs index 1d580d122c..70eaf38d3a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/acceptinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/acceptinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs index bf9e59eb8e..411904f8ed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs @@ -34,7 +34,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/addnewusertoaccount?projectId={projectId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/addnewusertoaccount?projectId={projectId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs index 167c81a731..c35edf34b3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/doesuseremailexist?email={email}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/doesuseremailexist?email={email}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserExist.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserExist.g.verified.cs index 26fd0d78f7..ed0c6e9b27 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserExist.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserDoesUserExist.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/doesuserexist?username={username}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/doesuserexist?username={username}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs index cc7a1bb65d..ad8116a623 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/user/getcurrentaccountstatus", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/user/getcurrentaccountstatus", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs index 7a7680cef0..75c6fa09d9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/user/getcurrentuserpendinginvitations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/user/getcurrentuserpendinginvitations", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs index 45a4abeb86..4a1a706399 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/getfederationresponseforconnection?connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/getfederationresponseforconnection?connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs index fbdfd3b75c..a7604d80ff 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/getfilteredusers?projectId={projectId}&filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/getfilteredusers?projectId={projectId}&filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs index 93b4a26d76..9759272471 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/getprojectusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/getprojectusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs index 9b8e8290e1..63fd0a36a5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/inviteusertoproject?projectId={projectId}&email={email}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/inviteusertoproject?projectId={projectId}&email={email}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs index f3371079e3..7f08f95284 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/linkusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/linkusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRegisterConnection.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRegisterConnection.g.verified.cs index 97588984f8..60c9d1feed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRegisterConnection.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRegisterConnection.g.verified.cs @@ -22,7 +22,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/registerconnection?userId={userId}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/registerconnection?userId={userId}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs index c95f93e3f2..8848850ea4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/rejectinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/rejectinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs index 1fa76cf781..19dc995cec 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs @@ -30,7 +30,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/sendcontactrequestemail?firstname={firstname}&lastname={lastname}&email={email}&phone={phone}&institution={institution}&comments={comments}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/sendcontactrequestemail?firstname={firstname}&lastname={lastname}&email={email}&phone={phone}&institution={institution}&comments={comments}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs index 8123e7c6d1..b983fb4228 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs @@ -48,7 +48,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/submitcurrentaccountpayment?amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/submitcurrentaccountpayment?amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitEula.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitEula.g.verified.cs index bdfae0e7d8..26b011f092 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitEula.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserSubmitEula.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/submiteula?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/submiteula?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateConnection.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateConnection.g.verified.cs index 96b2c13e71..729e453e7c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateConnection.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateConnection.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updateconnection?userId={userId}&connectionKey={connectionKey}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updateconnection?userId={userId}&connectionKey={connectionKey}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs index a21297d2d7..f7987829d2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs @@ -22,7 +22,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updatecurrentuserpassword?userId={userId}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updatecurrentuserpassword?userId={userId}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUser.g.verified.cs index 99bec3c346..17a07518a2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUser.g.verified.cs @@ -30,7 +30,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updateuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&password={password}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updateuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&password={password}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs index d365e962db..ecc5823dd3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs @@ -38,7 +38,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updateuserinfo?userId={userId}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&address={address}&city={city}&state={state}&country={country}&zip={zip}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updateuserinfo?userId={userId}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&address={address}&city={city}&state={state}&country={country}&zip={zip}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidate2Factor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidate2Factor.g.verified.cs index 8d126b0293..ef3f6fe854 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidate2Factor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidate2Factor.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/validate2factor?username={username}&connectionKey={connectionKey}&encryptedAuthToken={encryptedAuthToken}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/validate2factor?username={username}&connectionKey={connectionKey}&encryptedAuthToken={encryptedAuthToken}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser.g.verified.cs index ff2d6f33fb..3752ac4187 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/validateuser?username={username}&passSalt={passSalt}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/validateuser?username={username}&passSalt={passSalt}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser2.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser2.g.verified.cs index 6fed8d0fb5..82dd3b422f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser2.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UserClient.UserValidateUser2.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/validateuser2?username={username}&rsaEncryptedPass={rsaEncryptedPass}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/validateuser2?username={username}&rsaEncryptedPass={rsaEncryptedPass}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetApiV1Me.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetApiV1Me.g.verified.cs index 4b854939cb..5c546748ea 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetApiV1Me.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetApiV1Me.g.verified.cs @@ -18,7 +18,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/me", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/me", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetConnectionKey.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetConnectionKey.g.verified.cs index 07325bbf8f..dd6ef89f08 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetConnectionKey.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.UsersClient.GetConnectionKey.g.verified.cs @@ -18,7 +18,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/getconnectionkey", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/getconnectionkey", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs index 8b38d4318f..bf341d36da 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountDisableRecurringPayment.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/disablerecurringpayment?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/disablerecurringpayment?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs index 7cdb7759d7..148f707557 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountBillingLogsForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/account/getaccountbillinglogsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/account/getaccountbillinglogsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs index a89e10de32..47c25d4c2c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountDetailsForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/account/getaccountdetailsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/account/getaccountdetailsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs index f90ac70f39..4db9dc59d6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/account/getaccountforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/account/getaccountforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs index 14a0670ed3..59b9cbd1b0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetAccountProjectInfoJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getaccountprojectinfojobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getaccountprojectinfojobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs index a52f124624..74027f51e6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetExportStorageMetricsJobId.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getexportstoragemetricsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getexportstoragemetricsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs index f3bcb65aa3..789f8fae91 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getprojectaccessdetailsforuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getprojectaccessdetailsforuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs index 71db6909db..adf4b2d634 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGetProjectAccessDetailsForUser2.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/getprojectaccessdetailsforuser2?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/getprojectaccessdetailsforuser2?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs index 7dc7d4bcc1..1c6be03c47 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountGrantAdmin.g.verified.cs @@ -22,7 +22,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/grantadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/grantadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs index ae3de777d3..ae766b51af 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRemoveUserFromCurrentAccount.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/removeuserfromcurrentaccount?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/removeuserfromcurrentaccount?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs index 90279fdc9b..3ab1edd168 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountRevokeAdmin.g.verified.cs @@ -22,7 +22,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/revokeadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/revokeadmin?accountId={accountId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs index 0c8d79efb2..dc23db613c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountSendPaymentReceipt.g.verified.cs @@ -24,7 +24,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/sendpaymentreceipt?accountId={accountId}&transactionId={transactionId}&email={email}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/sendpaymentreceipt?accountId={accountId}&transactionId={transactionId}&email={email}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs index 1607f711b1..605d595b7a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountChargesJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startexportaccountchargesjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startexportaccountchargesjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs index f3fac69921..8a7f745f89 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountPaymentsJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startexportaccountpaymentsjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startexportaccountpaymentsjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs index f80e7c952f..1aeed749a4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartExportAccountProjectSummaryJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startexportaccountprojectsummaryjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startexportaccountprojectsummaryjob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs index 54fcff087c..5d3045f551 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountStartGetAccountProjectInfoJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/startgetaccountprojectinfojob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/startgetaccountprojectinfojob?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs index f2036de49b..3f69299e83 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountPWPolicy.g.verified.cs @@ -40,7 +40,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/updateaccountpwpolicy?accountId={accountId}&enforcePolicy={enforcePolicy}&minLength={minLength}&requireChar={requireChar}&requireUpper={requireUpper}&requireNumber={requireNumber}&requireSymbol={requireSymbol}&maxAgeInDays={maxAgeInDays}&require2Auth={require2Auth}&relogin2Auth={relogin2Auth}&idleTimeoutInMinutes={idleTimeoutInMinutes}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/updateaccountpwpolicy?accountId={accountId}&enforcePolicy={enforcePolicy}&minLength={minLength}&requireChar={requireChar}&requireUpper={requireUpper}&requireNumber={requireNumber}&requireSymbol={requireSymbol}&maxAgeInDays={maxAgeInDays}&require2Auth={require2Auth}&relogin2Auth={relogin2Auth}&idleTimeoutInMinutes={idleTimeoutInMinutes}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs index 42a1a3f09d..8aaa479a06 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AccountClient.AccountUpdateAccountUser.g.verified.cs @@ -30,7 +30,7 @@ public partial class AccountClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/account/updateaccountuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&active={active}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/account/updateaccountuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&active={active}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs index 45a0d9d2c4..bb5c82debf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddCreditsToAccount.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addcreditstoaccount?accountId={accountId}&credits={credits}&reason={reason}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addcreditstoaccount?accountId={accountId}&credits={credits}&reason={reason}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs index 8765ab22ca..7ba6a0f059 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddGroupToProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addgrouptoproject?projectId={projectId}&groupTitle={groupTitle}&groupACLId={groupACLId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addgrouptoproject?projectId={projectId}&groupTitle={groupTitle}&groupACLId={groupACLId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs index b4382a0999..af9ae5b359 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddNewUserToAccount.g.verified.cs @@ -32,7 +32,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addnewusertoaccount?accountId={accountId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addnewusertoaccount?accountId={accountId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs index 6c3d4b83e1..ecc14a3457 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs index b45e6e5520..bb622d07e9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminAddUserToGroup.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/addusertogroup?projectId={projectId}&userId={userId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/addusertogroup?projectId={projectId}&userId={userId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs index c731f4b90a..c2f991e412 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminCreateAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/createaccount?adminId={adminId}&credits={credits}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/createaccount?adminId={adminId}&credits={credits}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs index 8833cf75a8..3ea80f05ab 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetAccountTransactions.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getaccounttransactions?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getaccounttransactions?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs index 5970bdb5d9..d5ee76ba88 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActiveUserInfos.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getactiveuserinfos", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getactiveuserinfos", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs index 57eda44893..ac2f007db2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetActivityMetrics.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getactivitymetrics", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getactivitymetrics", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs index c070f73e6f..d4bab27bfb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjects.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getfilteredprojects?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getfilteredprojects?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs index 8182957c26..7bcc33b5dd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredProjectsAndUsers.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getfilteredprojectsandusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getfilteredprojectsandusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs index 502439849e..53dcdcb861 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetFilteredUsers.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getfilteredusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getfilteredusers?filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs index d7d4f3bf35..5ad150208f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetMergeStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getmergestatus?mergedProjectId={mergedProjectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getmergestatus?mergedProjectId={mergedProjectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs index fb32c4fa57..d9d676b6df 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetProjectSecurityInfo.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getprojectsecurityinfo?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getprojectsecurityinfo?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs index ccfe163a11..b123402614 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetRevenueSegments.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getrevenuesegments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getrevenuesegments", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs index 7c20142b59..68f4e0a9be 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetSignupSegments.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/getsignupsegments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/getsignupsegments", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs index 2ae37a81bd..0a5db3d5d3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminGetUserFullDetailsByUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/getuserfulldetailsbyuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/getuserfulldetailsbyuser?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs index b91d273a36..2669722159 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMergeProjects.g.verified.cs @@ -30,7 +30,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/mergeprojects?project1Id={project1Id}&project2Id={project2Id}&newTitle={newTitle}&newDescription={newDescription}&creatorId={creatorId}&mergeCodes={mergeCodes}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/mergeprojects?project1Id={project1Id}&project2Id={project2Id}&newTitle={newTitle}&newDescription={newDescription}&creatorId={creatorId}&mergeCodes={mergeCodes}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs index 95365557ca..46dd2d1922 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminMigrateUserToAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/migrateusertoaccount?userToBeMovedId={userToBeMovedId}&accountIdToMoveTo={accountIdToMoveTo}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/migrateusertoaccount?userToBeMovedId={userToBeMovedId}&accountIdToMoveTo={accountIdToMoveTo}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs index 0638d9fd38..b0887932c5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminOverrideVerify.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/overrideverify?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/overrideverify?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs index 3da70a9afe..0765b51eda 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminProcessPayment.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/processpayment?accountId={accountId}&amount={amount}&memo={memo}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/processpayment?accountId={accountId}&amount={amount}&memo={memo}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs index 4686fd438a..14ddb10b2e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSendAllClientsMessage.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/sendallclientsmessage?title={title}&message={message}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/sendallclientsmessage?title={title}&message={message}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs index 58e54a3f39..ed4302574d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountcpupmoverride?accountId={accountId}&cpupmOverride={cpupmOverride}&endDate={endDate:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountcpupmoverride?accountId={accountId}&cpupmOverride={cpupmOverride}&endDate={endDate:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs index 5d5cd3054f..74e62a0ab2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountGroupDiscount.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountgroupdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountgroupdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs index 78110a42c1..ceaf1fd285 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountStudentDiscount.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountstudentdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountstudentdiscount?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs index 6acf6481fa..72e8a8ed36 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetAccountUserAdminStatus.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setaccountuseradminstatus?accountId={accountId}&userId={userId}&isAdmin={isAdmin}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setaccountuseradminstatus?accountId={accountId}&userId={userId}&isAdmin={isAdmin}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs index 0f81b69044..a8ef539bb0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSetUserPassword.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/setuserpassword?userId={userId}&rsaEncrptedPass={rsaEncrptedPass}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/setuserpassword?userId={userId}&rsaEncrptedPass={rsaEncrptedPass}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs index 8b1a5bdd03..dcac5a2cc5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartAddDemoProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/startadddemoproject?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/startadddemoproject?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs index d2eaeaad4a..fbb253f900 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportAccountsJob.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/startexportaccountsjob", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/startexportaccountsjob", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs index f223c86326..8cedb70bae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminStartExportUsersJob.g.verified.cs @@ -18,7 +18,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/admin/startexportusersjob", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/admin/startexportusersjob", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs index c296d6bcf7..f3d3250e10 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminSubmitPayment.g.verified.cs @@ -50,7 +50,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/submitpayment?accountId={accountId}&amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/submitpayment?accountId={accountId}&amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs index 70f8490296..86e43a4df7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUnlinkUserFromProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/unlinkuserfromproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/unlinkuserfromproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs index 5c17e1561c..7fc47ce479 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/updateproject?projectId={projectId}&title={title}&adminId={adminId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/updateproject?projectId={projectId}&title={title}&adminId={adminId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs index c085d0d216..714d234454 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserGroup.g.verified.cs @@ -30,7 +30,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/updateusergroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/updateusergroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs index fb88d2046c..61de348462 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.AdminClient.AdminUpdateUserInfo.g.verified.cs @@ -26,7 +26,7 @@ public partial class AdminClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/admin/updateuserinfo?userId={userId}&username={username}&email={email}&phone={phone}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/admin/updateuserinfo?userId={userId}&username={username}&email={email}&phone={phone}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs index 41b395f7dc..5a1bdabdee 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetChatMessages.g.verified.cs @@ -26,7 +26,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/chat/getchatmessages?userId={userId}&projectId={projectId}&lastRevievedProjectMessageId={lastRevievedProjectMessageId}&lastRecievedGlobalMessageId={lastRecievedGlobalMessageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/chat/getchatmessages?userId={userId}&projectId={projectId}&lastRevievedProjectMessageId={lastRevievedProjectMessageId}&lastRecievedGlobalMessageId={lastRecievedGlobalMessageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs index 0d077ec531..7db9e39800 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatGetProjectChatUsers.g.verified.cs @@ -20,7 +20,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/chat/getprojectchatusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/chat/getprojectchatusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs index fd6d25551d..3e58c91578 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ChatClient.ChatSubmitProjectChatMessage.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/chat/submitprojectchatmessage?projectId={projectId}&userId={userId}&message={message}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/chat/submitprojectchatmessage?projectId={projectId}&userId={userId}&message={message}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs index e8d15f0394..b72753da29 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetAddDataSet.g.verified.cs @@ -49,7 +49,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/adddataset?projectId={projectId}&userId={userId}&title={title}&description={description}&areExcerptsFiltered={areExcerptsFiltered}&areResourcesFiltered={areResourcesFiltered}&areDescriptorsFiltered={areDescriptorsFiltered}&areTagsFiltered={areTagsFiltered}&areUsersFiltered={areUsersFiltered}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&{string.Join("&", userIds.Select(static x => $"userIds={x}"))}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}&{string.Join("&", excludedExcerptIds.Select(static x => $"excludedExcerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/adddataset?projectId={projectId}&userId={userId}&title={title}&description={description}&areExcerptsFiltered={areExcerptsFiltered}&areResourcesFiltered={areResourcesFiltered}&areDescriptorsFiltered={areDescriptorsFiltered}&areTagsFiltered={areTagsFiltered}&areUsersFiltered={areUsersFiltered}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&{string.Join("&", userIds.Select(static x => $"userIds={x}"))}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}&{string.Join("&", excludedExcerptIds.Select(static x => $"excludedExcerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs index e885c82340..0e912bfd2a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs @@ -55,7 +55,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/deletedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/deletedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs index 87545767fb..74e9aeedb6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetGetDataSetsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/getdatasetsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/getdatasetsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs index 7ba4dfe7b5..3f425f1d8a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs @@ -55,7 +55,7 @@ public partial class DataSetClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/dataset/updatedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/dataset/updatedataset?Id={id}&ProjectId={projectId}&ProjectIdKey={projectIdKey}&CreatedById={createdById}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&Title={title}&Desciption={desciption}&{string.Join("&", objectIdLists_IncludedTagIds.Select(static x => $"objectIdLists_IncludedTagIds={x}"))}&{string.Join("&", objectIdLists_IncludedDescriptorIds.Select(static x => $"objectIdLists_IncludedDescriptorIds={x}"))}&{string.Join("&", objectIdLists_IncludedResourceIds.Select(static x => $"objectIdLists_IncludedResourceIds={x}"))}&{string.Join("&", objectIdLists_IncludedExcerptIds.Select(static x => $"objectIdLists_IncludedExcerptIds={x}"))}&{string.Join("&", objectIdLists_IncludedUserIds.Select(static x => $"objectIdLists_IncludedUserIds={x}"))}&{string.Join("&", objectIdLists_ExcludedExcerptIds.Select(static x => $"objectIdLists_ExcludedExcerptIds={x}"))}&AreExcerptsFiltered={areExcerptsFiltered}&AreResourcesFiltered={areResourcesFiltered}&AreTagsFiltered={areTagsFiltered}&AreUsersFiltered={areUsersFiltered}&AreDescriptorsFiltered={areDescriptorsFiltered}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs index 1b64003c92..df87427d7c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptor.g.verified.cs @@ -28,7 +28,7 @@ public partial class DescriptorClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptor?projectId={projectId}&userId={userId}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptor?projectId={projectId}&userId={userId}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs index 0b1a938b8e..52546649f1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorField.g.verified.cs @@ -34,7 +34,7 @@ public partial class DescriptorClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptorfield?projectId={projectId}&title={title}&description={description}&type={type}&isDynamic={isDynamic}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptorfield?projectId={projectId}&title={title}&description={description}&type={type}&isDynamic={isDynamic}&setId={setId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs index 14c310ea5e..dc4fe3dd65 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorLink.g.verified.cs @@ -27,7 +27,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptorlink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}&{string.Join("&", dynamicValues.Select(static x => $"dynamicValues={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptorlink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}&{string.Join("&", dynamicValues.Select(static x => $"dynamicValues={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs index 47087a0262..c707750001 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDescriptorSet.g.verified.cs @@ -26,7 +26,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddescriptorset?projectId={projectId}&title={title}&description={description}&createByUserId={createByUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddescriptorset?projectId={projectId}&title={title}&description={description}&createByUserId={createByUserId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs index eb5197bc16..d57f1b7c05 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddDynamicValue.g.verified.cs @@ -32,7 +32,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/adddynamicvalue?projectId={projectId}&setId={setId}&descriptorId={descriptorId}&fieldId={fieldId}&resourceId={resourceId}&data={data}&optionId={optionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/adddynamicvalue?projectId={projectId}&setId={setId}&descriptorId={descriptorId}&fieldId={fieldId}&resourceId={resourceId}&data={data}&optionId={optionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs index c33214061d..5a1aeae409 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddLinks.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/addlinks?projectId={projectId}&{string.Join("&", links.Select(static x => $"links={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/addlinks?projectId={projectId}&{string.Join("&", links.Select(static x => $"links={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs index ec7000fc4a..856e204ecd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorAddOrUpdateDynamicValues.g.verified.cs @@ -29,7 +29,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/addorupdatedynamicvalues?projectId={projectId}&resourceId={resourceId}&setId={setId}&descriptorId={descriptorId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/addorupdatedynamicvalues?projectId={projectId}&resourceId={resourceId}&setId={setId}&descriptorId={descriptorId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs index ac30e5bf9b..f5202c6d91 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs @@ -36,7 +36,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletedescriptor?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByIDL={createByIDL}&DescriptorSetIDL={descriptorSetIDL}&ValuesData={valuesData}&DynamicValuesData={dynamicValuesData}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletedescriptor?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByIDL={createByIDL}&DescriptorSetIDL={descriptorSetIDL}&ValuesData={valuesData}&DynamicValuesData={dynamicValuesData}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs index 383c264ee6..022cd50429 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptorField.g.verified.cs @@ -38,7 +38,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletedescriptorfield?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&DescriptorSetIDL={descriptorSetIDL}&Type={type}&Title={title}&Description={description}&IsDynamicField={isDynamicField}&SortOrder={sortOrder}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletedescriptorfield?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&DescriptorSetIDL={descriptorSetIDL}&Type={type}&Title={title}&Description={description}&IsDynamicField={isDynamicField}&SortOrder={sortOrder}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs index 96da0ac86f..c4f8c14bcd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteDescriptors.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletedescriptors?projectId={projectId}&{string.Join("&", descriptorsIds.Select(static x => $"descriptorsIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletedescriptors?projectId={projectId}&{string.Join("&", descriptorsIds.Select(static x => $"descriptorsIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs index a5f4fa730e..a427379616 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorDeleteLink.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/deletelink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/deletelink?projectId={projectId}&resourceId={resourceId}&descriptorId={descriptorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs index 513cc51d73..f25cd83faf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorForceDeleteDescriptorSetPolled.g.verified.cs @@ -22,7 +22,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/forcedeletedescriptorsetpolled?projectIDL={projectIDL}&descriptorSetId={descriptorSetId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/forcedeletedescriptorsetpolled?projectIDL={projectIDL}&descriptorSetId={descriptorSetId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs index 7400c6e09d..bf6cf28cc0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetConvertFieldTypeJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getconvertfieldtypejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getconvertfieldtypejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs index 628673f212..219e87d384 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesDataFromFileJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getdesdatafromfilejobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getdesdatafromfilejobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs index ec07d79846..cb080fc4a5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDesFieldImportDataFromFile.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getdesfieldimportdatafromfile?relativeFileURL={relativeFileURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getdesfieldimportdatafromfile?relativeFileURL={relativeFileURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs index d3e0e03925..87ae1bd8ac 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetDynamicValuesByProjectId.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getdynamicvaluesbyprojectid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getdynamicvaluesbyprojectid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs index 02dd711bfc..a73cdddee1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorFieldValues.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorfieldvalues?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorfieldvalues?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs index 0c0b9e2099..28be5635ba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorLinks.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs index 0d376d1576..d91e0d1bb3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorProps.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorprops?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorprops?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs index 65eb1fbfae..6decaf52fc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetProjectDescriptorsPaged.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getprojectdescriptorspaged?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getprojectdescriptorspaged?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs index ce04bf7b89..df1d45aa3d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorGetResourceLinks.g.verified.cs @@ -22,7 +22,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/getresourcelinks?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/getresourcelinks?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs index 1ca0082754..31edc43181 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorImportFields.g.verified.cs @@ -29,7 +29,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/importfields?projectId={projectId}&userId={userId}&{string.Join("&", fieldInfos.Select(static x => $"fieldInfos={x}"))}&existingSetId={existingSetId}&newSetTitle={newSetTitle}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/importfields?projectId={projectId}&userId={userId}&{string.Join("&", fieldInfos.Select(static x => $"fieldInfos={x}"))}&existingSetId={existingSetId}&newSetTitle={newSetTitle}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs index 8868ece059..29b919f5ec 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorIsForceDeleteDescriptorSetPolledComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/isforcedeletedescriptorsetpolledcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/isforcedeletedescriptorsetpolledcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs index 26329ffa27..04c56183ae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartConvertFieldTypeJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startconvertfieldtypejob?projectId={projectId}&setId={setId}&fieldId={fieldId}&newFieldType={newFieldType}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startconvertfieldtypejob?projectId={projectId}&setId={setId}&fieldId={fieldId}&newFieldType={newFieldType}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs index 41cae20041..eb7f91a342 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportDescriptorsJob.g.verified.cs @@ -27,7 +27,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startexportdescriptorsjob?projectId={projectId}&setId={setId}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startexportdescriptorsjob?projectId={projectId}&setId={setId}&{string.Join("&", descriptorIds.Select(static x => $"descriptorIds={x}"))}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs index 1d22123d00..99c53817b1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartExportFieldsJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startexportfieldsjob?projectId={projectId}&setId={setId}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startexportfieldsjob?projectId={projectId}&setId={setId}&fileExtension={fileExtension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs index e6f6052c97..0942b4c4ef 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartGetDesDataFromFileJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startgetdesdatafromfilejob?localFileURL={localFileURL}&setId={setId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startgetdesdatafromfilejob?localFileURL={localFileURL}&setId={setId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs index 636e904b2b..1568c5202b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorStartImportDescriptorsJob.g.verified.cs @@ -27,7 +27,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/startimportdescriptorsjob?projectId={projectId}&userId={userId}&setId={setId}&{string.Join("&", descriptorInfos.Select(static x => $"descriptorInfos={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/startimportdescriptorsjob?projectId={projectId}&userId={userId}&setId={setId}&{string.Join("&", descriptorInfos.Select(static x => $"descriptorInfos={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs index 2c64369fa3..2474c9bb9b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs @@ -34,7 +34,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatedescriptorset?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreatedByUserId={createdByUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatedescriptorset?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreatedByUserId={createdByUserId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs index 5f3462c917..7a2604eb22 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldAndOptions.g.verified.cs @@ -33,7 +33,7 @@ public partial class DescriptorClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatefieldandoptions?projectId={projectId}&fieldId={fieldId}&title={title}&description={description}&{string.Join("&", deletedOptionIds.Select(static x => $"deletedOptionIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatefieldandoptions?projectId={projectId}&fieldId={fieldId}&title={title}&description={description}&{string.Join("&", deletedOptionIds.Select(static x => $"deletedOptionIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs index a79c2a2932..6710be16ee 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateFieldOrders.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatefieldorders?projectId={projectId}&{string.Join("&", fields.Select(static x => $"fields={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatefieldorders?projectId={projectId}&{string.Join("&", fields.Select(static x => $"fields={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs index 699bae6f8d..d44925fcff 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DescriptorClient.DescriptorUpdateValues.g.verified.cs @@ -23,7 +23,7 @@ public partial class DescriptorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/descriptor/updatevalues?projectId={projectId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/descriptor/updatevalues?projectId={projectId}&{string.Join("&", values.Select(static x => $"values={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs index 82a46e4ee8..91626aa578 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ErrorClient.ErrorProcessUIError.g.verified.cs @@ -32,7 +32,7 @@ public partial class ErrorClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/error/processuierror?projectId={projectId}&userId={userId}&workspace={workspace}&errorCode={errorCode}&message={message}¤tTarget={currentTarget}&stacktrace={stacktrace}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/error/processuierror?projectId={projectId}&userId={userId}&workspace={workspace}&errorCode={errorCode}&message={message}¤tTarget={currentTarget}&stacktrace={stacktrace}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs index c51116597f..97ce01f978 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddDocumentExcerptWithTags.g.verified.cs @@ -37,7 +37,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/adddocumentexcerptwithtags?projectId={projectId}&userId={userId}&resourceId={resourceId}&title={title}&description={description}&startIndex={startIndex}&endIndex={endIndex}&excerptText={excerptText}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/adddocumentexcerptwithtags?projectId={projectId}&userId={userId}&resourceId={resourceId}&title={title}&description={description}&startIndex={startIndex}&endIndex={endIndex}&excerptText={excerptText}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs index 1b4f03d03e..df113aaee3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddImageExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs index 8090b2a555..23c9371f0f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFImageExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addpdfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addpdfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs index 1afe766a97..63cd8d4230 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfImageExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addpdfswfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addpdfswfimageexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs index 43ec9c9f26..8c1eb3b729 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddPDFSwfTextExcerpt.g.verified.cs @@ -35,7 +35,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addpdfswftextexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&pageIndex={pageIndex}&start={start}&end={end}&text={text}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addpdfswftextexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&pageIndex={pageIndex}&start={start}&end={end}&text={text}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs index cd37cb4865..109bfb5d06 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptAddVideoExcerpt.g.verified.cs @@ -31,7 +31,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/addvideoexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/addvideoexcerpt?projectId={projectId}&userId={userId}&resourceId={resourceId}&start={start}&end={end}&{string.Join("&", tagIdsToApply.Select(static x => $"tagIdsToApply={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs index 92de9c1561..27706f92ef 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptDeleteExcerpt.g.verified.cs @@ -22,7 +22,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/deleteexcerpt?projectId={projectId}&excerptId={excerptId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/deleteexcerpt?projectId={projectId}&excerptId={excerptId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs index b0d6f03143..6273459257 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetExcerptsByProjectId.g.verified.cs @@ -24,7 +24,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/getexcerptsbyprojectid?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/getexcerptsbyprojectid?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs index 9edfd85f23..266026d2cf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptGetSearchExcerptsJobResults.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/getsearchexcerptsjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/getsearchexcerptsjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs index a463d37c93..3c0b8d9883 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptIsDeleteExcerptsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/isdeleteexcerptsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/isdeleteexcerptsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs index c7f4ad15e6..58afbfc93c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartDeleteExcerptsJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/startdeleteexcerptsjob?currentProjectId={currentProjectId}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/startdeleteexcerptsjob?currentProjectId={currentProjectId}&{string.Join("&", excerptIds.Select(static x => $"excerptIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs index 48f2a6ef16..60f50a3dbc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptStartSearchExcerptsJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/startsearchexcerptsjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/startsearchexcerptsjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs index 986b706e5a..9b9e3e3303 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptRange.g.verified.cs @@ -30,7 +30,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updateexcerptrange?projectId={projectId}&userId={userId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}&updatedTextURI={updatedTextURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updateexcerptrange?projectId={projectId}&userId={userId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}&updatedTextURI={updatedTextURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs index 9a58287c18..af05c58bbb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateExcerptText.g.verified.cs @@ -24,7 +24,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updateexcerpttext?projectIDL={projectIDL}&excerptId={excerptId}&text={text}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updateexcerpttext?projectIDL={projectIDL}&excerptId={excerptId}&text={text}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs index 9a77a37ccd..fe993f459a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdateImageExcerptRegion.g.verified.cs @@ -28,7 +28,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updateimageexcerptregion?projectId={projectId}&userId={userId}&excerptId={excerptId}&start={start}&end={end}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updateimageexcerptregion?projectId={projectId}&userId={userId}&excerptId={excerptId}&start={start}&end={end}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs index dbecc82387..ac7eb07659 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExcerptClient.ExcerptUpdatePDFSwfImageExcerptRegion.g.verified.cs @@ -28,7 +28,7 @@ public partial class ExcerptClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/excerpt/updatepdfswfimageexcerptregion?projectId={projectId}¤tUserId={currentUserId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/excerpt/updatepdfswfimageexcerptregion?projectId={projectId}¤tUserId={currentUserId}&excerptId={excerptId}&newStart={newStart}&newEnd={newEnd}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs index 297f0a9d02..cc6ac10aa5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/getexcerptsexportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/getexcerptsexportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs index d7791e1678..45a26f19cd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExcerptsExportURL.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/getexcerptsexporturl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/getexcerptsexporturl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs index 7b2c888208..65a0af399f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportGetExportJobURI.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/getexportjoburi?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/getexportjoburi?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs index 805c3baf99..5df91bede3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportIsExportJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/isexportjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/isexportjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs index a31d88e078..e7109d5bbe 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExcerptsExport.g.verified.cs @@ -54,7 +54,7 @@ public partial class ExportClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexcerptsexport?projectId={projectId}&FileExtension={fileExtension}&ExCopyMode={exCopyMode}&SortMode={sortMode}&ExRange={exRange}&ExCreator={exCreator}&ExDate={exDate}&DesInfo={desInfo}&DocTitle={docTitle}&DocCreator={docCreator}&DocDate={docDate}&TagApplied={tagApplied}&TagWeight={tagWeight}&TagRange={tagRange}&Memos={memos}&symKeyEncrypted={symKeyEncrypted}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexcerptsexport?projectId={projectId}&FileExtension={fileExtension}&ExCopyMode={exCopyMode}&SortMode={sortMode}&ExRange={exRange}&ExCreator={exCreator}&ExDate={exDate}&DesInfo={desInfo}&DocTitle={docTitle}&DocCreator={docCreator}&DocDate={docDate}&TagApplied={tagApplied}&TagWeight={tagWeight}&TagRange={tagRange}&Memos={memos}&symKeyEncrypted={symKeyEncrypted}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs index bbfaa57ebc..fbb5171e68 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportBubbleChartJob.g.verified.cs @@ -35,7 +35,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexportbubblechartjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexportbubblechartjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs index b5f6f9089a..ad74d243fb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportHierarchicalChartJob.g.verified.cs @@ -25,7 +25,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexporthierarchicalchartjob?projectId={projectId}&Title={title}&{string.Join("&", parentItems.Select(static x => $"parentItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexporthierarchicalchartjob?projectId={projectId}&Title={title}&{string.Join("&", parentItems.Select(static x => $"parentItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs index ded2970d75..1ffe6237d3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartExportSingleSeriesChartJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startexportsingleserieschartjob?projectId={projectId}&{string.Join("&", exportInfo.Select(static x => $"exportInfo={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startexportsingleserieschartjob?projectId={projectId}&{string.Join("&", exportInfo.Select(static x => $"exportInfo={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs index 660b11a77f..c67723bfae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ExportClient.ExportStartGridChartExportJob.g.verified.cs @@ -35,7 +35,7 @@ public partial class ExportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/export/startgridchartexportjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/export/startgridchartexportjob?projectId={projectId}&Title={title}&{string.Join("&", columnLabels.Select(static x => $"columnLabels={x}"))}&{string.Join("&", rowLabels.Select(static x => $"rowLabels={x}"))}&{string.Join("&", rows.Select(static x => $"rows={x}"))}&MaxCount={maxCount}&ColorByTotal={colorByTotal}&extension={extension}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileEmailFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileEmailFile.g.verified.cs index 0b4874b41d..d5d39225ad 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileEmailFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileEmailFile.g.verified.cs @@ -26,7 +26,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/emailfile?fileURI={fileURI}&attachmentFileName={attachmentFileName}&emailAddress={emailAddress}&subject={subject}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/emailfile?fileURI={fileURI}&attachmentFileName={attachmentFileName}&emailAddress={emailAddress}&subject={subject}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs index d19ef73050..ae34010118 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetConvertPDF2SwfResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getconvertpdf2swfresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getconvertpdf2swfresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs index 8febf661b4..6f089dffbc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetExportJobFileURI.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getexportjobfileuri?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getexportjobfileuri?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs index 6a69b35321..d65745594e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getfxmldocjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getfxmldocjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs index 547d310056..98caf0de01 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetFXMLDocXPolled.g.verified.cs @@ -22,7 +22,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getfxmldocxpolled?projectId={projectId}&fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getfxmldocxpolled?projectId={projectId}&fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs index 23b8c47229..2e94dff32a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetMoveFileFromTempToPermJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/getmovefilefromtemptopermjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/getmovefilefromtemptopermjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetWriteKey.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetWriteKey.g.verified.cs index 3d217f161a..b23356d223 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetWriteKey.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileGetWriteKey.g.verified.cs @@ -18,7 +18,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/file/getwritekey", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/file/getwritekey", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs index bcd0577ac5..17cc6129dd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileIsJobManagerJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/isjobmanagerjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/isjobmanagerjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs index 89d6244970..1b870fd6f8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStartConvertPDF2Swf.g.verified.cs @@ -22,7 +22,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/startconvertpdf2swf?projectId={projectId}&pdfURI={pdfURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/startconvertpdf2swf?projectId={projectId}&pdfURI={pdfURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs index b47f420681..d94ea15901 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileClient.FileStoreProjectFileString.g.verified.cs @@ -26,7 +26,7 @@ public partial class FileClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/file/storeprojectfilestring?projectId={projectId}&fileStorageType={fileStorageType}&extension={extension}&text={text}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/file/storeprojectfilestring?projectId={projectId}&fileStorageType={fileStorageType}&extension={extension}&text={text}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs index 3df3f03ace..6659472f0b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetBytesFromFileStorage.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileStorageClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/getbytesfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/getbytesfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs index e8253ed858..b6d0902c5f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.GetStringFromFileStorage.g.verified.cs @@ -20,7 +20,7 @@ public partial class FileStorageClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/getstringfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/getstringfromfilestorage?dataPath={dataPath}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs index 53568a640c..7c71f1755f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.FileStorageClient.UploadToFileStorage.g.verified.cs @@ -28,7 +28,7 @@ public partial class FileStorageClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/uploadtofilestorage?name={name}&projectId={projectId}&uploadType={uploadType}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/uploadtofilestorage?name={name}&projectId={projectId}&uploadType={uploadType}", global::System.UriKind.RelativeOrAbsolute)); var __base64 = global::System.Convert.ToBase64String(request); httpRequest.Content = new global::System.Net.Http.StringContent( content: __base64, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs index d2cd38991b..6213ff028d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.CreateApiV1Login.g.verified.cs @@ -20,7 +20,7 @@ public partial class LoginClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/login", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/login", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs index 2bf5e4c2e6..f9554deb32 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetApiV1Rsa.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/rsa", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/rsa", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetClientVersions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetClientVersions.g.verified.cs index 655c2e20d8..d54bbdb45f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetClientVersions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetClientVersions.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/getclientversions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/getclientversions", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs index 96044f5c88..d722f772f1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetServiceMessagesController.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/getservicemessages", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/getservicemessages", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs index 058c5ffd25..c3ce72b812 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.GetTopBlogPosts.g.verified.cs @@ -16,7 +16,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/gettopblogposts", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/gettopblogposts", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.UnsafeLogin.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.UnsafeLogin.g.verified.cs index d1288895f7..559e16df5a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.UnsafeLogin.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.UnsafeLogin.g.verified.cs @@ -20,7 +20,7 @@ public partial class LoginClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/unsafelogin", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/unsafelogin", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.Validate2Factor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.Validate2Factor.g.verified.cs index 98119940a6..a0a1bb6e8d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.Validate2Factor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.LoginClient.Validate2Factor.g.verified.cs @@ -22,7 +22,7 @@ public partial class LoginClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/validate2factor?username={username}&authToken={authToken}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/validate2factor?username={username}&authToken={authToken}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddFolder.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddFolder.g.verified.cs index ef000c0d5b..fcff84a88e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddFolder.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddFolder.g.verified.cs @@ -24,7 +24,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/addfolder?projectId={projectId}&title={title}&parentFolderId={parentFolderId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/addfolder?projectId={projectId}&title={title}&parentFolderId={parentFolderId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemo.g.verified.cs index 0d84ad31c6..10007459a8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemo.g.verified.cs @@ -35,7 +35,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/addmemo?projectId={projectId}&title={title}&dataPath={dataPath}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/addmemo?projectId={projectId}&title={title}&dataPath={dataPath}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs index 7de7d439a0..589e555545 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoAddMemoFolderLinks.g.verified.cs @@ -25,7 +25,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/addmemofolderlinks?projectId={projectId}&memoId={memoId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/addmemofolderlinks?projectId={projectId}&memoId={memoId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs index ee8bf92d03..f15e57f158 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteFolder.g.verified.cs @@ -26,7 +26,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/deletefolder?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/deletefolder?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs index 3979cd4e77..9726449ac9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoDeleteMemo.g.verified.cs @@ -38,7 +38,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/deletememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/deletememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs index 7cd10dbc11..c5971f2533 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetCopyMemosToDocumentsJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/getcopymemostodocumentsjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/getcopymemostodocumentsjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs index 7fd07fd3e8..24fc119652 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetImportMemosXMLResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/getimportmemosxmlresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/getimportmemosxmlresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs index f257166a9b..338f80dc40 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoGetSearchMemosJobResults.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/getsearchmemosjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/getsearchmemosjobresults?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs index fdefa228b2..4269d0c242 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoIsCopyMemosToDocumentsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/iscopymemostodocumentsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/iscopymemostodocumentsjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs index b84bdf44dc..b1b90ed4ae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkFoldersToMemos.g.verified.cs @@ -25,7 +25,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/linkfolderstomemos?projectId={projectId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/linkfolderstomemos?projectId={projectId}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkObject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkObject.g.verified.cs index 7769c3e486..0cf46fd900 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkObject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLinkObject.g.verified.cs @@ -38,7 +38,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/linkobject?projectId={projectId}&memoId={memoId}&Id={id1}&Position={position1}&Id={id2}&Position={position2}&Id={id3}&Position={position3}&Id={id4}&Position={position4}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/linkobject?projectId={projectId}&memoId={memoId}&Id={id1}&Position={position1}&Id={id2}&Position={position2}&Id={id3}&Position={position3}&Id={id4}&Position={position4}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs index 9e98bf3cb0..c65f124d30 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoLoadProjectMemosFoldersAndLinks.g.verified.cs @@ -20,7 +20,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/loadprojectmemosfoldersandlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/loadprojectmemosfoldersandlinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs index 9fea2330fd..313b290042 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartCopyMemosToDocumentsJob.g.verified.cs @@ -25,7 +25,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startcopymemostodocumentsjob?projectId={projectId}&userId={userId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startcopymemostodocumentsjob?projectId={projectId}&userId={userId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs index 4e2b32dba4..422c71896e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemos.g.verified.cs @@ -37,7 +37,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startexportmemos?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&description={description}&extension={extension}&includeCodes={includeCodes}&includeMedia={includeMedia}&includeExcerpts={includeExcerpts}&includeDescriptors={includeDescriptors}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startexportmemos?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&description={description}&extension={extension}&includeCodes={includeCodes}&includeMedia={includeMedia}&includeExcerpts={includeExcerpts}&includeDescriptors={includeDescriptors}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs index 3d4337a8bf..28c1958a26 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartExportMemosXML.g.verified.cs @@ -33,7 +33,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startexportmemosxml?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&codeSelection={codeSelection}&mediaSelection={mediaSelection}&excerptsSelection={excerptsSelection}&descriptorsSelection={descriptorsSelection}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startexportmemosxml?projectId={projectId}&{string.Join("&", memoIds.Select(static x => $"memoIds={x}"))}&codeSelection={codeSelection}&mediaSelection={mediaSelection}&excerptsSelection={excerptsSelection}&descriptorsSelection={descriptorsSelection}&symKey={symKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs index 6d3e9ea90c..9e1ca6dd09 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartImportMemosXML.g.verified.cs @@ -22,7 +22,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startimportmemosxml?projectId={projectId}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startimportmemosxml?projectId={projectId}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs index d5d7c28b7d..107ad46c42 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoStartSearchMemosJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/startsearchmemosjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/startsearchmemosjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs index f66cfcf3bf..3138011fed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUnlinkObject.g.verified.cs @@ -30,7 +30,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/unlinkobject?projectId={projectId}&memoId={memoId}&resourceId={resourceId}&excerptId={excerptId}&descriptorId={descriptorId}&tagId={tagId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/unlinkobject?projectId={projectId}&memoId={memoId}&resourceId={resourceId}&excerptId={excerptId}&descriptorId={descriptorId}&tagId={tagId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs index 3c5204754e..0afab13d8e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateFolderTitle.g.verified.cs @@ -24,7 +24,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/updatefoldertitle?projectId={projectId}&folderId={folderId}&title={title}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/updatefoldertitle?projectId={projectId}&folderId={folderId}&title={title}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs index 2e9f096fe6..69850436f4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.MemoClient.MemoUpdateMemo.g.verified.cs @@ -49,7 +49,7 @@ public partial class MemoClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/memo/updatememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/memo/updatememo?ProjectIdKey={projectIdKey}&Id={id}&ProjectId={projectId}&Title={title}&CreatedUserId={createdUserId}&LastEditUserId={lastEditUserId}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&LastEditStamp={lastEditStamp:yyyy-MM-ddTHH:mm:ssZ}&FolderId={folderId}&DataURI={dataURI}&{string.Join("&", folderIds.Select(static x => $"folderIds={x}"))}&{string.Join("&", resources.Select(static x => $"resources={x}"))}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}&{string.Join("&", descriptors.Select(static x => $"descriptors={x}"))}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs index 4c8de5b771..c2de745bc7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectByUser.g.verified.cs @@ -24,7 +24,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/addprojectbyuser?userId={userId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/addprojectbyuser?userId={userId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs index 6117b5afda..fd3f1c6d9e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectAddProjectEncryptedByUser.g.verified.cs @@ -26,7 +26,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/addprojectencryptedbyuser?userId={userId}&title={title}&decription={decription}&symKeyHash={symKeyHash}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/addprojectencryptedbyuser?userId={userId}&title={title}&decription={decription}&symKeyHash={symKeyHash}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs index a43a725132..b7f84e13f6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectCheckEncryptedData.g.verified.cs @@ -22,7 +22,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/checkencrypteddata?projectId={projectId}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/checkencrypteddata?projectId={projectId}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs index 05c0697d9a..8ce54c25f9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetAllProjectsForCurrentUser.g.verified.cs @@ -18,7 +18,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/project/getallprojectsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/project/getallprojectsforcurrentuser", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs index 54c7c2045b..770568ff51 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetCopyProjectStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getcopyprojectstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getcopyprojectstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs index 376fdadcd1..a739b41ba5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetExportAccountProjectsJobId.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getexportaccountprojectsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getexportaccountprojectsjobid?accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs index 7dfacecce4..24250a8433 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectById.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectbyid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectbyid?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs index 8c12791ebb..d95f49eb09 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectCopyJobProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectcopyjobproject?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectcopyjobproject?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs index 7afe1555ba..22ee426af9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportJobExceptions.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectimportjobexceptions?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectimportjobexceptions?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs index 202c4f4e36..a2fa21dd39 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectGetProjectImportStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/getprojectimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/getprojectimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs index d25aeffb1b..97ce9003e4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectIsDeletedProjectJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/isdeletedprojectjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/isdeletedprojectjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs index 3162860aee..268e57f0eb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectRenameProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/renameproject?projectId={projectId}&newTitle={newTitle}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/renameproject?projectId={projectId}&newTitle={newTitle}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs index 9cdba10436..58ad68b6fa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartCopyProjectJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startcopyprojectjob?userId={userId}&projectId={projectId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startcopyprojectjob?userId={userId}&projectId={projectId}&title={title}&decription={decription}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs index 85ab84d2ca..e04e29cc0e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartDeleteProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startdeleteproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startdeleteproject?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs index da17972d58..ab7d7ccd57 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectExportJob.g.verified.cs @@ -28,7 +28,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startprojectexportjob?projectId={projectId}&password={password}&email={email}&extension={extension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startprojectexportjob?projectId={projectId}&password={password}&email={email}&extension={extension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs index 7b744f690f..c4e3c93770 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectStartProjectImportJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/startprojectimportjob?projectId={projectId}&fileURI={fileURI}&password={password}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/startprojectimportjob?projectId={projectId}&fileURI={fileURI}&password={password}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs index eda5024f9b..3814ad5065 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ProjectClient.ProjectUpdateProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class ProjectClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/project/updateproject?projectId={projectId}&updatedTitle={updatedTitle}&updatedDescription={updatedDescription}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/project/updateproject?projectId={projectId}&updatedTitle={updatedTitle}&updatedDescription={updatedDescription}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs index 4a04de913b..15fb0aa2a3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddAudioResource.g.verified.cs @@ -28,7 +28,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addaudioresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addaudioresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs index 5f3a1bc125..f1890d9af2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddResource.g.verified.cs @@ -32,7 +32,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addresource?projectId={projectId}&userId={userId}&title={title}&description={description}&resourceType={resourceType}&fileURL={fileURL}&length={length}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addresource?projectId={projectId}&userId={userId}&title={title}&description={description}&resourceType={resourceType}&fileURL={fileURL}&length={length}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs index 602b6068ee..01e9018091 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddTranscript.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addtranscript?projectId={projectId}¤tUserId={currentUserId}&resourceId={resourceId}&transcriptData={transcriptData}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addtranscript?projectId={projectId}¤tUserId={currentUserId}&resourceId={resourceId}&transcriptData={transcriptData}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs index 63a566824c..5d3d60977f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceAddVideoResource.g.verified.cs @@ -28,7 +28,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/addvideoresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/addvideoresource?projectId={projectId}&userId={userId}&title={title}&description={description}&videoUploadURL={videoUploadURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs index 17902d853a..37b398afc0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceCloneDocument.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/clonedocument?projectId={projectId}&resourceId={resourceId}&cloneExcerpts={cloneExcerpts}&cloneTagApps={cloneTagApps}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/clonedocument?projectId={projectId}&resourceId={resourceId}&cloneExcerpts={cloneExcerpts}&cloneTagApps={cloneTagApps}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs index 3e19fc90c0..4f8912f813 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteResource.g.verified.cs @@ -46,7 +46,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/deleteresource?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&Type={type}&DataPath={dataPath}&Length={length}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByUserIDL={createByUserIDL}&IsDataLocked={isDataLocked}&MetaData={metaData}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/deleteresource?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&Type={type}&DataPath={dataPath}&Length={length}&CreateStamp={createStamp:yyyy-MM-ddTHH:mm:ssZ}&CreateByUserIDL={createByUserIDL}&IsDataLocked={isDataLocked}&MetaData={metaData}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs index c987fe37c7..d3538ab185 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs @@ -32,7 +32,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/deletetranscript?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/deletetranscript?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs index ce936fac20..e42bda3e20 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddImageResourceJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaddimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaddimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs index 0f047d4a63..497f2113c8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFImageResourceJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaddpdfimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaddpdfimageresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs index 6b4bc3a3ad..df5281cd35 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAddPDFSwfResourceJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaddpdfswfresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaddpdfswfresourcejobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs index 69f417443b..064cae315d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioResourceByJobId.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaudioresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaudioresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs index 30cb89f2e4..e405a4b0da 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetAudioSample.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getaudiosample?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getaudiosample?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs index 49d9bd7271..c4ca10f189 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetDocumentSearchJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getdocumentsearchjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getdocumentsearchjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs index 1d9ecc2dd1..b36db6dd43 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportJobURL.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getexportjoburl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getexportjoburl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs index eaadda8e0f..7b5f1ce047 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetExportPDFSwfJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getexportpdfswfjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getexportpdfswfjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs index fdae658da1..a3266c50c0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourceSyncItems.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getresourcesyncitems?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getresourcesyncitems?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs index c7feb65429..f1d7151a87 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetResourcesByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getresourcesbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getresourcesbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs index f12f01db08..5f6b53bbde 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscripsts.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/gettranscripsts?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/gettranscripsts?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs index ddc372fdd4..002b5395ad 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetTranscriptExportJobId.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/gettranscriptexportjobid?projectId={projectId}&transcriptId={transcriptId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/gettranscriptexportjobid?projectId={projectId}&transcriptId={transcriptId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs index f878a94929..c396c017a8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceGetVideoResourceByJobId.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/getvideoresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/getvideoresourcebyjobid?projectId={projectId}&jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs index 4eecc6744b..73de02adfc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs index 732edfbec2..3d325dc195 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceAudioConversionComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/isresourceaudioconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/isresourceaudioconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs index 5418aae2e1..ccaebf667c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceIsResourceVideoConversionComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/isresourcevideoconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/isresourcevideoconversioncomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs index daadc497cc..b9e7332689 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceLockResource.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/lockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/lockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs index 48355fb15f..2a84a5540f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddImageResource.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startaddimageresource?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startaddimageresource?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs index 48c5b0f402..0d3b3277b9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFImageResourceJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startaddpdfimageresourcejob?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startaddpdfimageresourcejob?projectId={projectId}&userId={userId}&fileName={fileName}&fileURI={fileURI}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs index efb335ce3a..33f6bc0006 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartAddPDFSwfResourceJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startaddpdfswfresourcejob?projectId={projectId}&title={title}&fileUri={fileUri}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startaddpdfswfresourcejob?projectId={projectId}&title={title}&fileUri={fileUri}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs index 5dadae6e6a..b6e87fd224 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDeleteResourcesJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startdeleteresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startdeleteresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs index 41ba7e0969..04d1f4067e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartDocumentSearchJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startdocumentsearchjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startdocumentsearchjob?projectId={projectId}&searchText={searchText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs index 288c0420c8..571bda9cef 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportDocumentJobWithRTL.g.verified.cs @@ -30,7 +30,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startexportdocumentjobwithrtl?projectId={projectId}&resourceId={resourceId}&includeExRegions={includeExRegions}&rtl={rtl}&exportExtension={exportExtension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startexportdocumentjobwithrtl?projectId={projectId}&resourceId={resourceId}&includeExRegions={includeExRegions}&rtl={rtl}&exportExtension={exportExtension}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs index 220b9652c1..25f1309e7f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportPDFSwfJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startexportpdfswfjob?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startexportpdfswfjob?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs index d607bed628..8e69967532 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceStartExportResourcesJob.g.verified.cs @@ -27,7 +27,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/startexportresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&includeDescriptorInfo={includeDescriptorInfo}&includeCodeCounts={includeCodeCounts}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/startexportresourcesjob?projectId={projectId}&{string.Join("&", resourceIds.Select(static x => $"resourceIds={x}"))}&includeDescriptorInfo={includeDescriptorInfo}&includeCodeCounts={includeCodeCounts}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs index 68a42cb5a5..e0dc26125d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUnlockResource.g.verified.cs @@ -22,7 +22,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/unlockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/unlockresource?projectId={projectId}&resourceId={resourceId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs index f1c124c45e..77f0a79599 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateDocumentDataAndExcerpts.g.verified.cs @@ -31,7 +31,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updatedocumentdataandexcerpts?projectId={projectId}&userId={userId}&resourceId={resourceId}&updatedTextDataURI={updatedTextDataURI}&updatedLength={updatedLength}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updatedocumentdataandexcerpts?projectId={projectId}&userId={userId}&resourceId={resourceId}&updatedTextDataURI={updatedTextDataURI}&updatedLength={updatedLength}&{string.Join("&", excerpts.Select(static x => $"excerpts={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs index e42167abf9..b9e1be69bd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResource.g.verified.cs @@ -26,7 +26,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updateresource?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updateresource?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs index 0823a17116..eea4547f0f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateResourceAndData.g.verified.cs @@ -32,7 +32,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updateresourceanddata?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}&fileURL={fileURL}&length={length}&isLocked={isLocked}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updateresourceanddata?projectId={projectId}&resourceId={resourceId}&title={title}&description={description}&fileURL={fileURL}&length={length}&isLocked={isLocked}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs index 7cc64fb98a..814ca666b7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.ResourceClient.ResourceUpdateTranscriptData.g.verified.cs @@ -37,7 +37,7 @@ public partial class ResourceClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/resource/updatetranscriptdata?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}&transcriptData={transcriptData}&{string.Join("&", syncItems.Select(static x => $"syncItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/resource/updatetranscriptdata?ProjectIdKey={projectIdKey}&Id={id}&Creator={creator}&ProjectId={projectId}&ResourceId={resourceId}&DataPath={dataPath}&Created={created:yyyy-MM-ddTHH:mm:ssZ}&transcriptData={transcriptData}&{string.Join("&", syncItems.Select(static x => $"syncItems={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs index d3948d4896..01025d9892 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityAddGroup.g.verified.cs @@ -24,7 +24,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/addgroup?projectId={projectId}&title={title}&accessListId={accessListId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/addgroup?projectId={projectId}&title={title}&accessListId={accessListId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs index 00612f7037..be61169887 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityDeleteGroup.g.verified.cs @@ -30,7 +30,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/deletegroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/deletegroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs index 5a5f2bca88..d527f55b34 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetAllAccessLists.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/getallaccesslists", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/getallaccesslists", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs index 5609294658..2362de590c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroupLinks.g.verified.cs @@ -20,7 +20,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/getprojectgrouplinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/getprojectgrouplinks?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs index 92a696b6f8..899e54f7a8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetProjectGroups.g.verified.cs @@ -20,7 +20,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/getprojectgroups?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/getprojectgroups?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs index 013b2d3b0a..805bb72740 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetSuperUserIds.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/getsuperuserids", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/getsuperuserids", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs index 48c515883c..17c541a46d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityGetVersion.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/getversion", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/getversion", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs index 39d446d33a..f35e80ad6e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityImpersonateUser.g.verified.cs @@ -22,7 +22,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/impersonateuser?username={username}&email={email}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/impersonateuser?username={username}&email={email}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs index c55c2196f0..f553e4773c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUser.g.verified.cs @@ -24,7 +24,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/linkuser?userId={userId}&projectId={projectId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/linkuser?userId={userId}&projectId={projectId}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs index 8ec96e367f..cb0095adc1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityLinkUserWithInvitation.g.verified.cs @@ -26,7 +26,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/linkuserwithinvitation?userId={userId}&projectId={projectId}&groupId={groupId}&invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/linkuserwithinvitation?userId={userId}&projectId={projectId}&groupId={groupId}&invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs index af01ce5ed9..a83c2a15bd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByEmail.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/resetuserpasswordbyemail?userEmail={userEmail}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/resetuserpasswordbyemail?userEmail={userEmail}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs index 265fd75b3f..344b93e37c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityResetUserPasswordByUsername.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/resetuserpasswordbyusername?username={username}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/resetuserpasswordbyusername?username={username}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs index 4166e84a86..602b640b44 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityStopImpersonation.g.verified.cs @@ -18,7 +18,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/security/stopimpersonation", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/security/stopimpersonation", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs index feac8876f4..d82035fb0c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUnlinkUserFromProject.g.verified.cs @@ -22,7 +22,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/unlinkuserfromproject?userId={userId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/unlinkuserfromproject?userId={userId}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs index 5dfaef47fe..bd7824f016 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SecurityClient.SecurityUpdateGroup.g.verified.cs @@ -30,7 +30,7 @@ public partial class SecurityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/security/updategroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/security/updategroup?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&AccessListIDL={accessListIDL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs index b9275d99d1..1334e6f303 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportGetSurveyImportStatus.g.verified.cs @@ -20,7 +20,7 @@ public partial class SurveyImportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/surveyimport/getsurveyimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/surveyimport/getsurveyimportstatus?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs index 1af0f7280f..7160dbe30b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.SurveyImportClient.SurveyImportStartSurveyImportJob.g.verified.cs @@ -24,7 +24,7 @@ public partial class SurveyImportClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/surveyimport/startsurveyimportjob?projectId={projectId}&surveyUploadedFileURL={surveyUploadedFileURL}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/surveyimport/startsurveyimportjob?projectId={projectId}&surveyUploadedFileURL={surveyUploadedFileURL}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs index 66530154c7..edc3f5cc61 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplication.g.verified.cs @@ -30,7 +30,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addexcerpttagapplication?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&tagId={tagId}&weight={weight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addexcerpttagapplication?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&tagId={tagId}&weight={weight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs index fc809248a9..ec9a266122 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddExcerptTagApplications.g.verified.cs @@ -29,7 +29,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addexcerpttagapplications?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addexcerpttagapplications?userId={userId}&projectId={projectId}&resourceId={resourceId}&excerptId={excerptId}&{string.Join("&", tagApps.Select(static x => $"tagApps={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTag.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTag.g.verified.cs index 041682e2f7..c2a85bae1f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTag.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTag.g.verified.cs @@ -36,7 +36,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addtag?projectId={projectId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addtag?projectId={projectId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagLink.g.verified.cs index 3fedaa3e80..e4603c8cd7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagLink.g.verified.cs @@ -26,7 +26,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addtaglink?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}&isParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addtaglink?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}&isParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs index 3815781ae3..481b6d17e3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagAddTagWithParent.g.verified.cs @@ -38,7 +38,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/addtagwithparent?proejctId={proejctId}&parentTagId={parentTagId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/addtagwithparent?proejctId={proejctId}&parentTagId={parentTagId}&title={title}&description={description}&isWeighted={isWeighted}&weightMin={weightMin}&weightMax={weightMax}&weightDefault={weightDefault}&allowDecimalWeights={allowDecimalWeights}&color={color}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs index 95b4b35060..085494276c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagByJob.g.verified.cs @@ -46,7 +46,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/deletetagbyjob?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/deletetagbyjob?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs index 5ee734193c..df05a572af 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagDeleteTagLink.g.verified.cs @@ -34,7 +34,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/deletetaglink?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/deletetaglink?currentProjectId={currentProjectId}&ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs index 7d4ad09ca7..4da1d8a2eb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetDeleteTagByJobResponse.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getdeletetagbyjobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getdeletetagbyjobresponse?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs index 915800ddaf..d5d691497f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportFileURLJobId.g.verified.cs @@ -26,7 +26,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getprojecttagsexportfileurljobid?projectId={projectId}&fileExtension={fileExtension}&includeExcerpts={includeExcerpts}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getprojecttagsexportfileurljobid?projectId={projectId}&fileExtension={fileExtension}&includeExcerpts={includeExcerpts}&encryptedSymKey={encryptedSymKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs index 5117c2386c..7a52b70440 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetProjectTagsExportJobFileURL.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getprojecttagsexportjobfileurl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getprojecttagsexportjobfileurl?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs index 332ea235df..43a2370e65 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetRetroUpcodeJobTagApplications.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/getretroupcodejobtagapplications?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/getretroupcodejobtagapplications?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs index 5f04941977..b946188cd3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagApplicationsByProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettagapplicationsbyproject?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettagapplicationsbyproject?projectId={projectId}&page={page}&pageSize={pageSize}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs index 0d0f31e243..76e347713b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagLinksByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettaglinksbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettaglinksbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs index f2cafa2365..c1993e0596 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettagsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettagsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs index a25de3e6c9..e786693bc6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagGetTagsFromSpreadsheetJobResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/gettagsfromspreadsheetjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/gettagsfromspreadsheetjobresult?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsJobComplete.g.verified.cs index 9086f4f1ea..e8bbb92103 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/isjobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs index a9f1cd8ae6..270d10ab0e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagIsRetroUpcodeJobComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/isretroupcodejobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/isretroupcodejobcomplete?jobId={jobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagMergeTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagMergeTags.g.verified.cs index 90f8ce4eb0..bc3da427f6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagMergeTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagMergeTags.g.verified.cs @@ -24,7 +24,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/mergetags?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/mergetags?projectId={projectId}&tag1Id={tag1Id}&tag2Id={tag2Id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs index 4202f72e83..dd134d4740 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagRemoveTagApplication.g.verified.cs @@ -22,7 +22,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/removetagapplication?projectId={projectId}&tagAppId={tagAppId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/removetagapplication?projectId={projectId}&tagAppId={tagAppId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs index a727d79551..39bb0e6dc3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartGetTagsFromImportJob.g.verified.cs @@ -20,7 +20,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/startgettagsfromimportjob?fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/startgettagsfromimportjob?fileURL={fileURL}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs index aa83810d29..4b0e590010 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartImportTagsJob.g.verified.cs @@ -23,7 +23,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/startimporttagsjob?projectId={projectId}&{string.Join("&", tagVOs.Select(static x => $"tagVOs={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/startimporttagsjob?projectId={projectId}&{string.Join("&", tagVOs.Select(static x => $"tagVOs={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs index f87b04e6b3..1cd321c170 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagStartRetroUpcodeJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/startretroupcodejob?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/startretroupcodejob?projectId={projectId}&userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTag.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTag.g.verified.cs index 34ea16e538..c9fa3a4773 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTag.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTag.g.verified.cs @@ -44,7 +44,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetag?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetag?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Title={title}&Description={description}&IsWeighted={isWeighted}&WeightMin={weightMin}&WeightMax={weightMax}&WeightDefault={weightDefault}&SortOrder={sortOrder}&Color={color}&AllowDecimalWeight={allowDecimalWeight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs index ce932e79ad..6f41da07d2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagAppWeight.g.verified.cs @@ -24,7 +24,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetagappweight?currentProjectId={currentProjectId}&tagAppId={tagAppId}&newWeight={newWeight}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetagappweight?currentProjectId={currentProjectId}&tagAppId={tagAppId}&newWeight={newWeight}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs index 19b72ef0b7..c92a3219fb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagLink.g.verified.cs @@ -32,7 +32,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetaglink?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetaglink?ProjectIdKey={projectIdKey}&ProjectId={projectId}&Id={id}&ProjectIDL={projectIDL}&Tag1IDL={tag1IDL}&Tag2IDL={tag2IDL}&IsParentChildLink={isParentChildLink}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs index 3754c01464..eed0eb910d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TagClient.TagUpdateTagOrders.g.verified.cs @@ -23,7 +23,7 @@ public partial class TagClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/tag/updatetagorders?projectId={projectId}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/tag/updatetagorders?projectId={projectId}&{string.Join("&", tags.Select(static x => $"tags={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs index 06619be51c..21516fa651 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingAddTest.g.verified.cs @@ -33,7 +33,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/addtest?projectId={projectId}&trainingTestType={trainingTestType}&title={title}&description={description}&createdUserId={createdUserId}&{string.Join("&", exIds.Select(static x => $"exIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/addtest?projectId={projectId}&trainingTestType={trainingTestType}&title={title}&description={description}&createdUserId={createdUserId}&{string.Join("&", exIds.Select(static x => $"exIds={x}"))}&{string.Join("&", tagIds.Select(static x => $"tagIds={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs index cd7c041cb8..f295dca87b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingDeleteTest.g.verified.cs @@ -38,7 +38,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/deletetest?ProjectIdKey={projectIdKey}&Id={id}&TestType={testType}&Title={title}&Description={description}&CreatedOn={createdOn:yyyy-MM-ddTHH:mm:ssZ}&ProjectId={projectId}&ExcerptCount={excerptCount}&TagCount={tagCount}&Creator={creator}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/deletetest?ProjectIdKey={projectIdKey}&Id={id}&TestType={testType}&Title={title}&Description={description}&CreatedOn={createdOn:yyyy-MM-ddTHH:mm:ssZ}&ProjectId={projectId}&ExcerptCount={excerptCount}&TagCount={tagCount}&Creator={creator}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs index 9df38ea2f2..6e05498454 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetAddTestResult.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/getaddtestresult?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/getaddtestresult?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs index 93cf981dfe..49656b65a8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestExcerpts.g.verified.cs @@ -22,7 +22,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestexcerpts?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestexcerpts?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs index eae447bd05..5f6338d9f8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestMasterTagApplications.g.verified.cs @@ -22,7 +22,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestmastertagapplications?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestmastertagapplications?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs index 4077509541..41893f419f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultTagApps.g.verified.cs @@ -24,7 +24,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestresulttagapps?projectId={projectId}&testId={testId}&testResultId={testResultId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestresulttagapps?projectId={projectId}&testId={testId}&testResultId={testResultId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs index 778266404d..d923076832 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestResultsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestresultsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestresultsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs index 848d2c9af7..b9eaca8b23 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestTags.g.verified.cs @@ -22,7 +22,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettesttags?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettesttags?projectId={projectId}&testId={testId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs index b4bcd51e13..99806d48b2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingGetTestsByProject.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/gettestsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/gettestsbyproject?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs index 32f2a58c83..1a8b66ba93 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingIsTestAddComplete.g.verified.cs @@ -20,7 +20,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/istestaddcomplete?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/istestaddcomplete?addTestWorkerId={addTestWorkerId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs index 7d99afc231..e0df4439f9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingSaveTestResult.g.verified.cs @@ -31,7 +31,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/savetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/savetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs index 23d3aedc7a..6cd1368640 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingStartExportTestResultJob.g.verified.cs @@ -26,7 +26,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/startexporttestresultjob?projectId={projectId}&testResultId={testResultId}&fileExtension={fileExtension}&cryptoKey={cryptoKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/startexporttestresultjob?projectId={projectId}&testResultId={testResultId}&fileExtension={fileExtension}&cryptoKey={cryptoKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs index ba86d65601..1a7a8d8c2c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.TrainingClient.TrainingUpdateTestResult.g.verified.cs @@ -33,7 +33,7 @@ public partial class TrainingClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/training/updatetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&resultId={resultId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/training/updatetestresult?projectId={projectId}&traineeUserId={traineeUserId}&testId={testId}&resultId={resultId}&overallRating={overallRating}&{string.Join("&", traineeTagApps.Select(static x => $"traineeTagApps={x}"))}&completed={completed}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs index fc03044451..d9563fcca3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAcceptInvitationByCurrentUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/acceptinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/acceptinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs index f4221480d2..0868c8ba50 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserAddNewUserToAccount.g.verified.cs @@ -34,7 +34,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/addnewusertoaccount?projectId={projectId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/addnewusertoaccount?projectId={projectId}&username={username}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&encryptedPass={encryptedPass}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs index 60b433e062..258617b6d9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserEmailExist.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/doesuseremailexist?email={email}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/doesuseremailexist?email={email}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserExist.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserExist.g.verified.cs index 13fae7ae9e..8782ffec5a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserExist.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserDoesUserExist.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/doesuserexist?username={username}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/doesuserexist?username={username}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs index 0d82b6a99e..187fc233f0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentAccountStatus.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/user/getcurrentaccountstatus", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/user/getcurrentaccountstatus", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs index 6a562b96da..f98c4ce393 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetCurrentUserPendingInvitations.g.verified.cs @@ -18,7 +18,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/user/getcurrentuserpendinginvitations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/user/getcurrentuserpendinginvitations", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs index 8eeb2378e5..a9570992e8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFederationResponseForConnection.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/getfederationresponseforconnection?connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/getfederationresponseforconnection?connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs index bc5e626a89..b578146cf4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetFilteredUsers.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/getfilteredusers?projectId={projectId}&filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/getfilteredusers?projectId={projectId}&filter={filter}&maxResults={maxResults}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs index fb08b65240..1673ca4843 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserGetProjectUsers.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/getprojectusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/getprojectusers?projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs index 26dfa51978..b6c73d80a9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserInviteUserToProject.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/inviteusertoproject?projectId={projectId}&email={email}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/inviteusertoproject?projectId={projectId}&email={email}&groupId={groupId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs index 0a1556bb64..3c0befe6d8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserLinkUsertoAccount.g.verified.cs @@ -22,7 +22,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/linkusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/linkusertoaccount?userId={userId}&accountId={accountId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRegisterConnection.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRegisterConnection.g.verified.cs index 3e3e085a54..7f2791836b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRegisterConnection.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRegisterConnection.g.verified.cs @@ -22,7 +22,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/registerconnection?userId={userId}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/registerconnection?userId={userId}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs index 7b51384cf8..07cd5cf9b1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserRejectInvitationByCurrentUser.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/rejectinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/rejectinvitationbycurrentuser?invitationId={invitationId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs index 7e1189be03..74dafe6df9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSendContactRequestEmail.g.verified.cs @@ -30,7 +30,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/sendcontactrequestemail?firstname={firstname}&lastname={lastname}&email={email}&phone={phone}&institution={institution}&comments={comments}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/sendcontactrequestemail?firstname={firstname}&lastname={lastname}&email={email}&phone={phone}&institution={institution}&comments={comments}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs index 71b634c483..1dc0a81afb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitCurrentAccountPayment.g.verified.cs @@ -48,7 +48,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/submitcurrentaccountpayment?amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/submitcurrentaccountpayment?amount={amount}&firstName={firstName}&lastName={lastName}&address1={address1}&address2={address2}&city={city}&state={state}&country={country}&zip={zip}&cardType={cardType}&cardNum={cardNum}&cardCCV={cardCCV}&expMonth={expMonth}&expYear={expYear}&saveAsReoccuring={saveAsReoccuring}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitEula.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitEula.g.verified.cs index 23c478bc7f..7644b1ca27 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitEula.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserSubmitEula.g.verified.cs @@ -20,7 +20,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/submiteula?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/submiteula?userId={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateConnection.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateConnection.g.verified.cs index 5418de5c39..b6c79ce8bf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateConnection.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateConnection.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updateconnection?userId={userId}&connectionKey={connectionKey}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updateconnection?userId={userId}&connectionKey={connectionKey}&projectId={projectId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs index 0e5cd38e8e..963f9cbf8e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateCurrentUserPassword.g.verified.cs @@ -22,7 +22,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updatecurrentuserpassword?userId={userId}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updatecurrentuserpassword?userId={userId}&encryptedPass={encryptedPass}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUser.g.verified.cs index e599c9aa11..2cab90bb9f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUser.g.verified.cs @@ -30,7 +30,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updateuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&password={password}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updateuser?userId={userId}&firstName={firstName}&lastName={lastName}&phone={phone}&email={email}&password={password}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs index 0ce26ab0f4..1e39f22770 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserUpdateUserInfo.g.verified.cs @@ -38,7 +38,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/updateuserinfo?userId={userId}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&address={address}&city={city}&state={state}&country={country}&zip={zip}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/updateuserinfo?userId={userId}&firstName={firstName}&lastName={lastName}&email={email}&phone={phone}&address={address}&city={city}&state={state}&country={country}&zip={zip}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidate2Factor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidate2Factor.g.verified.cs index 2c608fa32d..78eb8a0403 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidate2Factor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidate2Factor.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/validate2factor?username={username}&connectionKey={connectionKey}&encryptedAuthToken={encryptedAuthToken}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/validate2factor?username={username}&connectionKey={connectionKey}&encryptedAuthToken={encryptedAuthToken}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser.g.verified.cs index 830d491631..5142654f34 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/validateuser?username={username}&passSalt={passSalt}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/validateuser?username={username}&passSalt={passSalt}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser2.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser2.g.verified.cs index 39d0600085..e01f2d7812 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser2.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UserClient.UserValidateUser2.g.verified.cs @@ -24,7 +24,7 @@ public partial class UserClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/api/v1/user/validateuser2?username={username}&rsaEncryptedPass={rsaEncryptedPass}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/api/v1/user/validateuser2?username={username}&rsaEncryptedPass={rsaEncryptedPass}&connectionKey={connectionKey}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetApiV1Me.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetApiV1Me.g.verified.cs index 3437a780f3..1010c63531 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetApiV1Me.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetApiV1Me.g.verified.cs @@ -18,7 +18,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/me", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/me", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetConnectionKey.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetConnectionKey.g.verified.cs index 33d9494fac..3f06e829b2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetConnectionKey.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.UsersClient.GetConnectionKey.g.verified.cs @@ -18,7 +18,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/api/v1/getconnectionkey", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/api/v1/getconnectionkey", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs index 854723f752..e702f09d19 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs index 52acd3c2a3..36b4ba1b30 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs @@ -19,7 +19,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs index c04d6cb120..7cbb3bdfda 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs index 916c72d3b3..57d6c52844 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs index b4e372a191..f1a28d26e0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs @@ -37,7 +37,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index e1a16d70b1..1a3fa618bd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -26,7 +26,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/authors?since={since}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/authors?since={since}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs index 252f899de0..3c5312ea83 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -45,7 +45,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs index e7c1290586..7a210be303 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/large_files", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/large_files", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs index 79d8a67b77..84ac0e904b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs @@ -27,7 +27,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs index 1f70453e08..1f34bbae02 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs @@ -29,7 +29,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs index 0113e6fadd..7952a43087 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs index e59db0b7aa..180e816a4a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs @@ -27,7 +27,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations?per_page={perPage}&page={page}&{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations?per_page={perPage}&page={page}&{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs index ad1c3341c8..27237dc141 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs index 738471f424..17d20f6b4d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs @@ -25,7 +25,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 1c966fe03b..b706f8451b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -30,7 +30,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/authors/{authorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/authors/{authorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs index db7183788d..05e63077c1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -30,7 +30,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/lfs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/lfs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs index c02c607499..87933d5b9f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/user/migrations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user/migrations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs index a6d967fbd8..70a8520bb4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs index 243084c9c0..c6f560465a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs @@ -29,7 +29,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs index 5e4c203461..0bef6e6b94 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs index ccfa019195..9c586428b9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs index 32bee0c588..2096bca648 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/NewtonsoftJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -31,7 +31,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs index fe2d4de8aa..094833041d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsCancelImport.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs index 82171b08bb..b0b1b29d54 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForAuthenticatedUser.g.verified.cs @@ -19,7 +19,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs index efbe9ce0d9..b7a3b85264 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDeleteArchiveForOrg.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs index 6a5337a868..e425480fca 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsDownloadArchiveForOrg.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs index 20672030f6..02e729373f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetArchiveForAuthenticatedUser.g.verified.cs @@ -37,7 +37,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/archive", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs index 843ffe066b..dbe00bbbf0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetCommitAuthors.g.verified.cs @@ -26,7 +26,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/authors?since={since}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/authors?since={since}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs index 42e5a63fae..2317196265 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetImportStatus.g.verified.cs @@ -45,7 +45,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs index e3da451e76..c58136726f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetLargeFiles.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/large_files", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/large_files", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs index b33c660631..47398d122d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForAuthenticatedUser.g.verified.cs @@ -27,7 +27,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs index 9cb5993e95..a2a260d00f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsGetStatusForOrg.g.verified.cs @@ -29,7 +29,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}?{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs index e27f07ecc5..7c28574a4d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForAuthenticatedUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs index 3e98bff839..75e11d4ab0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListForOrg.g.verified.cs @@ -27,7 +27,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations?per_page={perPage}&page={page}&{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations?per_page={perPage}&page={page}&{string.Join("&", exclude.Select(static x => $"exclude={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs index 43eaef1772..68e2cf6b8f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForAuthenticatedUser.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs index a1ce24f05a..faf53d8aa6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsListReposForOrg.g.verified.cs @@ -25,7 +25,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/repositories?per_page={perPage}&page={page}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs index 1d4d8848b4..478b030928 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsMapCommitAuthor.g.verified.cs @@ -30,7 +30,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/authors/{authorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/authors/{authorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs index 09aa6bc265..30ed0e8ae8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsSetLfsPreference.g.verified.cs @@ -30,7 +30,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import/lfs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import/lfs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs index 560f534f35..a3a67da0a4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForAuthenticatedUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/user/migrations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/user/migrations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs index e6c97af1f1..24b1813357 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartForOrg.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs index 88c49eaf01..e93632100f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsStartImport.g.verified.cs @@ -29,7 +29,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs index a58258efe5..2f2afd57bd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForAuthenticatedUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/user/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/user/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs index 22426621ad..7e33df6e32 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUnlockRepoForOrg.g.verified.cs @@ -23,7 +23,7 @@ public partial class MigrationsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/orgs/{org}/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/orgs/{org}/migrations/{migrationId}/repos/{repoName}/lock", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs index 8d89f96126..2b57e660ce 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Filtering/SystemTextJson/_#G.MigrationsClient.MigrationsUpdateImport.g.verified.cs @@ -31,7 +31,7 @@ public partial class MigrationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/repos/{owner}/{repo}/import", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.GetAbuse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.GetAbuse.g.verified.cs index a470a0e2dd..768ea311e3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.GetAbuse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AbuseClient.GetAbuse.g.verified.cs @@ -19,7 +19,7 @@ public partial class AbuseClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/abuse", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/abuse", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.GetAsn.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.GetAsn.g.verified.cs index 4becaa3cbc..09716a0a61 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.GetAsn.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.AsnClient.GetAsn.g.verified.cs @@ -19,7 +19,7 @@ public partial class AsnClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/AS{asn}/json", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/AS{asn}/json", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.GetDomains.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.GetDomains.g.verified.cs index 20d3b04488..6186bf59a6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.GetDomains.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.DomainsClient.GetDomains.g.verified.cs @@ -23,7 +23,7 @@ public partial class DomainsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/domains/{ip}?page={page}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/domains/{ip}?page={page}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.Batch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.Batch.g.verified.cs index b49a9cdc48..f2d072ba94 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.Batch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.Batch.g.verified.cs @@ -21,7 +21,7 @@ public partial class GeneralClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/batch", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/batch", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs index e93e2c738a..5b6a5ddf95 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs @@ -17,7 +17,7 @@ public partial class GeneralClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs index 440d828527..24b8f8bed9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class GeneralClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs index d36565d5a5..7c8a3a8773 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class PrivacyDetectionClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/privacy", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/privacy", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.GetRanges.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.GetRanges.g.verified.cs index 7876d68ac0..fbad624b93 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.GetRanges.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.RangesClient.GetRanges.g.verified.cs @@ -19,7 +19,7 @@ public partial class RangesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/ranges/{domain}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/ranges/{domain}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCityByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCityByIp.g.verified.cs index 12b80809ee..b2a8d30dba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCityByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCityByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/city", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/city", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCountryByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCountryByIp.g.verified.cs index 22f3ac2e11..43a8403532 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCountryByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCountryByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/country", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/country", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCity.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCity.g.verified.cs index ee6456fe1f..4e0108b69a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCity.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCity.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/city", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/city", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs index 51e658ca2a..2aeabd4c6a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/country", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/country", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs index 30cf7c2775..81b0cd8078 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/hostname", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/hostname", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentIp.g.verified.cs index e09eb60935..ceb8bacadc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentIp.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/ip", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/ip", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs index 35a8fe5d31..d9ea424af7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/loc", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/loc", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs index 5ae499dfec..4c980f7313 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/org", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/org", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs index 42e1fea473..93c3de9250 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/postal", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/postal", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs index ec46e5a0b9..21ac41be5e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/region", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/region", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs index 413261d73a..dd92696c73 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/timezone", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/timezone", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs index 9096885cf2..354d0ba0ad 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/hostname", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/hostname", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetIpByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetIpByIp.g.verified.cs index ef6035d611..e73c8d9276 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetIpByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetIpByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/ip", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/ip", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetLocationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetLocationByIp.g.verified.cs index 637d6fedb1..f32b71f3a1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetLocationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetLocationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/loc", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/loc", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs index 9a23e0c906..23a2768bbb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/org", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/org", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetPostalByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetPostalByIp.g.verified.cs index 27703122bc..2279205be7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetPostalByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetPostalByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/postal", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/postal", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetRegionByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetRegionByIp.g.verified.cs index 8e1c92eaa1..7461031c43 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetRegionByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetRegionByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/region", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/region", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs index e32819b60a..90e05e752c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/NewtonsoftJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/timezone", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/timezone", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.GetAbuse.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.GetAbuse.g.verified.cs index c632f6adab..68016161fc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.GetAbuse.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AbuseClient.GetAbuse.g.verified.cs @@ -19,7 +19,7 @@ public partial class AbuseClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/abuse", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/abuse", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.GetAsn.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.GetAsn.g.verified.cs index e85f0a8986..90e03f2592 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.GetAsn.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.AsnClient.GetAsn.g.verified.cs @@ -19,7 +19,7 @@ public partial class AsnClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/AS{asn}/json", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/AS{asn}/json", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.GetDomains.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.GetDomains.g.verified.cs index f36f942312..6f65b72ce7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.GetDomains.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.DomainsClient.GetDomains.g.verified.cs @@ -23,7 +23,7 @@ public partial class DomainsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/domains/{ip}?page={page}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/domains/{ip}?page={page}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.Batch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.Batch.g.verified.cs index db3cc078f6..f9ffb06261 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.Batch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.Batch.g.verified.cs @@ -21,7 +21,7 @@ public partial class GeneralClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/batch", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/batch", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs index a2489ea4a9..241d5e0f2e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetCurrentInformation.g.verified.cs @@ -17,7 +17,7 @@ public partial class GeneralClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs index b907cb4a2c..98f5e3da80 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.GeneralClient.GetInformationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class GeneralClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs index 6ae236d700..d5783a404c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.PrivacyDetectionClient.GetPrivacyInformationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class PrivacyDetectionClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/privacy", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/privacy", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.GetRanges.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.GetRanges.g.verified.cs index 2e7a510f95..ac943f37cb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.GetRanges.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.RangesClient.GetRanges.g.verified.cs @@ -19,7 +19,7 @@ public partial class RangesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/ranges/{domain}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/ranges/{domain}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCityByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCityByIp.g.verified.cs index aacb631c22..b78f62c040 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCityByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCityByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/city", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/city", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCountryByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCountryByIp.g.verified.cs index 9b09ed3ad2..94a4be2d4a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCountryByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCountryByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/country", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/country", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCity.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCity.g.verified.cs index af6c192949..eceb21de9c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCity.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCity.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/city", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/city", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs index c61d696696..fa1041cc59 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentCountry.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/country", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/country", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs index ca757c56b3..348f69e474 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentHostname.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/hostname", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/hostname", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentIp.g.verified.cs index 7038011eba..908333f0dc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentIp.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/ip", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/ip", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs index d13fae8eef..753a596892 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentLocation.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/loc", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/loc", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs index 56638d4f08..8d07329c0a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentOrganization.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/org", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/org", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs index 5176c798f2..3882208dde 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentPostal.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/postal", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/postal", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs index a351943a7e..a52b0c447d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentRegion.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/region", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/region", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs index f548df4652..fca2ccdd09 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetCurrentTimezone.g.verified.cs @@ -17,7 +17,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/timezone", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/timezone", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs index 1274fc8795..4e3bf1a590 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetHostnameByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/hostname", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/hostname", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetIpByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetIpByIp.g.verified.cs index 5c6811dabd..c44c106fc4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetIpByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetIpByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/ip", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/ip", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetLocationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetLocationByIp.g.verified.cs index cfb635925a..72f73f2fca 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetLocationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetLocationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/loc", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/loc", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs index f245fa7c40..16259332bd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetOrganizationByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/org", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/org", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetPostalByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetPostalByIp.g.verified.cs index e374450f3b..599e75ceb5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetPostalByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetPostalByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/postal", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/postal", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetRegionByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetRegionByIp.g.verified.cs index 707c545fe4..7e3ffaaf6e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetRegionByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetRegionByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/region", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/region", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs index da2cc6b3e1..c02eff9538 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/IpInfo/SystemTextJson/_#G.SingleClient.GetTimezoneByIp.g.verified.cs @@ -19,7 +19,7 @@ public partial class SingleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/{ip}/timezone", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/{ip}/timezone", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.CreateRunRunsPost.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.CreateRunRunsPost.g.verified.cs index 72f8086a36..268ef3921f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.CreateRunRunsPost.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.CreateRunRunsPost.g.verified.cs @@ -21,7 +21,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/runs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/runs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs index d63ec99b54..77f5fa03ee 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs @@ -23,7 +23,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.CreateRunRunsPost.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.CreateRunRunsPost.g.verified.cs index 116561094f..e5b59d69a3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.CreateRunRunsPost.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.CreateRunRunsPost.g.verified.cs @@ -21,7 +21,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/runs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/runs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs index ce46fdb155..dfe401f081 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.UpdateRunRunsRunIdPatch.g.verified.cs @@ -23,7 +23,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.GetVersion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.GetVersion.g.verified.cs index 84d4103014..749e99f176 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.GetVersion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.Api.GetVersion.g.verified.cs @@ -17,7 +17,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/version", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/version", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs index 27b7946736..6a3eb18565 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs index 3597bda550..d3d3dd37fa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs @@ -21,7 +21,7 @@ public partial class CompletionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/generate", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/generate", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs index 4a353f409b..2fdc1a215a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs @@ -20,7 +20,7 @@ public partial class EmbeddingsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CheckBlob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CheckBlob.g.verified.cs index c4e2839c4d..e5891ebe1d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CheckBlob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CheckBlob.g.verified.cs @@ -19,7 +19,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Head, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CopyModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CopyModel.g.verified.cs index e1758576c1..f032083ac0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CopyModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CopyModel.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/copy", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/copy", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateBlob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateBlob.g.verified.cs index 04eb33b10b..e62f407997 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateBlob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateBlob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateModel.g.verified.cs index 0f493f6617..5863b64e12 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.CreateModel.g.verified.cs @@ -21,7 +21,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/create", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/create", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs index 901d82cb08..f45328f389 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/delete", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/delete", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs index 6888a7d33c..a2168e316e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs @@ -16,7 +16,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/tags", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/tags", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListRunningModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListRunningModels.g.verified.cs index 41ab658aaf..902f863db5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListRunningModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ListRunningModels.g.verified.cs @@ -16,7 +16,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/ps", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/ps", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PullModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PullModel.g.verified.cs index 830e7df061..c73311cbfc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PullModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PullModel.g.verified.cs @@ -21,7 +21,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/pull", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/pull", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PushModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PushModel.g.verified.cs index 9f8adbc187..2248406745 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PushModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.PushModel.g.verified.cs @@ -21,7 +21,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/push", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/push", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs index a6b609332e..f92a16f27a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/NewtonsoftJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/show", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/show", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.GetVersion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.GetVersion.g.verified.cs index 6b8c5ed6fa..d007569ae7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.GetVersion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.Api.GetVersion.g.verified.cs @@ -17,7 +17,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/version", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/version", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs index f0c81eaf63..8ae8314491 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ChatClient.GenerateChatCompletion.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs index 6907baaef9..e0042c31bf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.CompletionsClient.GenerateCompletion.g.verified.cs @@ -21,7 +21,7 @@ public partial class CompletionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/generate", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/generate", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs index 74921c1595..eec87bb505 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.EmbeddingsClient.GenerateEmbedding.g.verified.cs @@ -20,7 +20,7 @@ public partial class EmbeddingsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CheckBlob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CheckBlob.g.verified.cs index c4e2839c4d..e5891ebe1d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CheckBlob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CheckBlob.g.verified.cs @@ -19,7 +19,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Head, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CopyModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CopyModel.g.verified.cs index 9823ffae3a..69b242209b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CopyModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CopyModel.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/copy", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/copy", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateBlob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateBlob.g.verified.cs index 1db01cc90f..e1ad34aed8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateBlob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateBlob.g.verified.cs @@ -22,7 +22,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/blobs/{digest}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateModel.g.verified.cs index 8500311e49..ab0d1021a5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.CreateModel.g.verified.cs @@ -21,7 +21,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/create", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/create", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs index 1643bf5183..1b8caae426 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/delete", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/delete", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs index d4bef6734a..38656c0825 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs @@ -16,7 +16,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/tags", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/tags", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListRunningModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListRunningModels.g.verified.cs index cd6775aca8..3f1b2117b6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListRunningModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ListRunningModels.g.verified.cs @@ -16,7 +16,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/ps", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/ps", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PullModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PullModel.g.verified.cs index e37553cb2d..f2de243d60 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PullModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PullModel.g.verified.cs @@ -21,7 +21,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/pull", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/pull", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PushModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PushModel.g.verified.cs index d159bb2ff7..ab5cd7d822 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PushModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.PushModel.g.verified.cs @@ -21,7 +21,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/push", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/push", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs index 2e401d730d..9492c9278d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Ollama/SystemTextJson/_#G.ModelsClient.ShowModelInfo.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/show", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/show", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CancelRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CancelRun.g.verified.cs index 80898553ca..c5b3aa71ed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CancelRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CancelRun.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs index cd325bca41..c41d8ad780 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/assistants", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/assistants", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateMessage.g.verified.cs index b8853f2320..862a22fdd4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateMessage.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateRun.g.verified.cs index cb6d14dc46..f386f10917 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateRun.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThread.g.verified.cs index ca9dd86522..0023b8275b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThread.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/threads", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/threads", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs index 7a19c04b97..7b653b1150 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/threads/runs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/threads/runs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs index 821d8a98d7..7c78d60ade 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs index 1763c0d99f..bef21b4a51 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteThread.g.verified.cs index 870aa84675..230496bd70 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.DeleteThread.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetAssistant.g.verified.cs index a8a773e84f..98e491b500 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetAssistant.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetMessage.g.verified.cs index 375a85c3eb..08e91c6459 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetMessage.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRun.g.verified.cs index fbc34d672b..fa7f26248e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRun.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRunStep.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRunStep.g.verified.cs index 372310ab2c..3413b29fcf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRunStep.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetRunStep.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/steps/{stepId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/steps/{stepId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetThread.g.verified.cs index d774ebf804..caeba50d53 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.GetThread.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListAssistants.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListAssistants.g.verified.cs index 871b3599e9..27a7c9f756 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListAssistants.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListAssistants.g.verified.cs @@ -30,7 +30,7 @@ public partial class AssistantsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListMessages.g.verified.cs index eb8ca87315..7d3e10e423 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListMessages.g.verified.cs @@ -34,7 +34,7 @@ public partial class AssistantsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages?limit={limit}&order={orderValue}&after={after}&before={before}&run_id={runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages?limit={limit}&order={orderValue}&after={after}&before={before}&run_id={runId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs index 7daf9eda42..57ab343855 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs @@ -34,7 +34,7 @@ public partial class AssistantsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/steps?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/steps?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRuns.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRuns.g.verified.cs index 694da1ac44..e658fcfcfd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRuns.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ListRuns.g.verified.cs @@ -32,7 +32,7 @@ public partial class AssistantsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs index 6204a26352..035877de45 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs index 665c604c3d..5c506205b3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyRun.g.verified.cs index 4221f8261e..7f80be4811 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyRun.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyThread.g.verified.cs index 0aa2bad90f..33d17b74ba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.ModifyThread.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs index a0f0306f69..c849641091 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/submit_tool_outputs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/submit_tool_outputs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateSpeech.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateSpeech.g.verified.cs index aff465c44b..1a970e819a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateSpeech.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateSpeech.g.verified.cs @@ -20,7 +20,7 @@ public partial class AudioClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/audio/speech", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/audio/speech", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranscription.g.verified.cs index 063518359b..24e60cb53a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranscription.g.verified.cs @@ -20,7 +20,7 @@ public partial class AudioClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/audio/transcriptions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/audio/transcriptions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranslation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranslation.g.verified.cs index e9a3ed4417..ceba2c29cc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranslation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.AudioClient.CreateTranslation.g.verified.cs @@ -20,7 +20,7 @@ public partial class AudioClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/audio/translations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/audio/translations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CancelBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CancelBatch.g.verified.cs index 1a4cf8ec0a..2beb41f34a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CancelBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CancelBatch.g.verified.cs @@ -18,7 +18,7 @@ public partial class BatchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CreateBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CreateBatch.g.verified.cs index 1d4b8ba1f8..dd7b2f16cc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CreateBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.CreateBatch.g.verified.cs @@ -20,7 +20,7 @@ public partial class BatchClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/batches", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/batches", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.ListBatches.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.ListBatches.g.verified.cs index 2bff71be64..8186239cab 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.ListBatches.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.ListBatches.g.verified.cs @@ -20,7 +20,7 @@ public partial class BatchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/batches?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/batches?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.RetrieveBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.RetrieveBatch.g.verified.cs index 3c246638c2..7ee1cf09b9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.RetrieveBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.BatchClient.RetrieveBatch.g.verified.cs @@ -18,7 +18,7 @@ public partial class BatchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs index 8438b5b875..dbc9a35244 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs @@ -20,7 +20,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/completions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/completions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs index f4aa26ef5b..7fe9f348b9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs @@ -20,7 +20,7 @@ public partial class CompletionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/completions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/completions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs index cff78d4e7e..83c7a37999 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs @@ -20,7 +20,7 @@ public partial class EmbeddingsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.CreateFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.CreateFile.g.verified.cs index 0fb21402f4..19ab44ac99 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.CreateFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.CreateFile.g.verified.cs @@ -24,7 +24,7 @@ public partial class FilesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/files", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/files", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DeleteFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DeleteFile.g.verified.cs index 00b5160184..995f888e1f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DeleteFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DeleteFile.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DownloadFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DownloadFile.g.verified.cs index b2edac7cdd..70b16b5a18 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DownloadFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.DownloadFile.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files/{fileId}/content", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files/{fileId}/content", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.ListFiles.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.ListFiles.g.verified.cs index 4a963eccae..70e1aa4a97 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.ListFiles.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.ListFiles.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files?purpose={purpose}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files?purpose={purpose}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.RetrieveFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.RetrieveFile.g.verified.cs index efe026c56b..87cc11e66a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.RetrieveFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FilesClient.RetrieveFile.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs index 6963e8a13b..665dd0e013 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs @@ -18,7 +18,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs index df46f9cd1c..16cc89fc47 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class FineTuningClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/fine_tuning/jobs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/fine_tuning/jobs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs index c73989887f..5c9bbd2ff8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs @@ -22,7 +22,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}/events?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}/events?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs index 55cf89fa8a..75040bedf7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs @@ -22,7 +22,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}/checkpoints?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}/checkpoints?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs index 04dae1fcbd..97de350981 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs @@ -20,7 +20,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs index 09c9040ddb..799fb8ddd6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs @@ -19,7 +19,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImage.g.verified.cs index 78bb469817..df88979276 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImage.g.verified.cs @@ -20,7 +20,7 @@ public partial class ImagesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/images/generations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/images/generations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs index 35b453df12..be2b466070 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs @@ -20,7 +20,7 @@ public partial class ImagesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/images/edits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/images/edits", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs index 487781485a..63fc5ba521 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs @@ -20,7 +20,7 @@ public partial class ImagesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/images/variations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/images/variations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs index fdff3464ec..d9bafd720b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.DeleteModel.g.verified.cs @@ -18,7 +18,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs index 35d9b443c4..b5eaae22af 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.ListModels.g.verified.cs @@ -16,7 +16,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/models", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/models", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.RetrieveModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.RetrieveModel.g.verified.cs index d6e1dcc4a7..faf5993721 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.RetrieveModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModelsClient.RetrieveModel.g.verified.cs @@ -18,7 +18,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.CreateModeration.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.CreateModeration.g.verified.cs index 51f063a257..002f3efac8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.CreateModeration.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.ModerationsClient.CreateModeration.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModerationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/moderations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/moderations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs index 41186a70b6..6dbb6bdd88 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs index fbb3501e78..a31af898c9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/vector_stores", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/vector_stores", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs index 1a6c2f1372..c4b4f773b7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs @@ -22,7 +22,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs index da0726f289..62986dd654 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs @@ -22,7 +22,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs index 707d033073..f30cf93253 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs @@ -18,7 +18,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs index 0ba9ca10a7..8f7095a8e9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs index adda603c77..0a7dca2fea 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs @@ -18,7 +18,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs index 7dc27c2534..79ac36b894 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs index 87caf52b49..3d5d137418 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs index 93bdb97007..0534986885 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs @@ -44,7 +44,7 @@ public partial class VectorStoresClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/files?limit={limit}&order={orderValue}&after={after}&before={before}&filter={filterValue}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/files?limit={limit}&order={orderValue}&after={after}&before={before}&filter={filterValue}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs index 09992ebba6..7202c1d1e6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs @@ -42,7 +42,7 @@ public partial class VectorStoresClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files?limit={limit}&order={orderValue}&after={after}&before={before}&filter={filterValue}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files?limit={limit}&order={orderValue}&after={after}&before={before}&filter={filterValue}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs index bfdd8109c4..3ad14df955 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs @@ -30,7 +30,7 @@ public partial class VectorStoresClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores?limit={limit}&order={orderValue}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs index a5119a0db6..bfc0dd26ff 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/NewtonsoftJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs @@ -22,7 +22,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CancelRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CancelRun.g.verified.cs index b4a34088bb..ada4771082 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CancelRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CancelRun.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs index cae4535ae6..f997beaa99 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateAssistant.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/assistants", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/assistants", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateMessage.g.verified.cs index 5730a664ba..7287617f9d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateMessage.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateRun.g.verified.cs index 349b8c1498..24887d2724 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateRun.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThread.g.verified.cs index e4368fd067..b79a0092a7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThread.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/threads", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/threads", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs index 225ef5a850..b29be9e2c2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.CreateThreadAndRun.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/threads/runs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/threads/runs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs index 99f50f078a..93d89c0c36 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteAssistant.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs index 6c5fd07122..f0123a7471 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteMessage.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteThread.g.verified.cs index eb17a49a3b..62eb78be64 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.DeleteThread.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetAssistant.g.verified.cs index 9040e14503..e3b3be1716 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetAssistant.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetMessage.g.verified.cs index b5eabc6533..fe18ce74ec 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetMessage.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRun.g.verified.cs index 60167019e0..5c8788e674 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRun.g.verified.cs @@ -20,7 +20,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRunStep.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRunStep.g.verified.cs index b17dacbad5..3399884a8c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRunStep.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetRunStep.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/steps/{stepId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/steps/{stepId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetThread.g.verified.cs index cf902c3c42..202934599e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.GetThread.g.verified.cs @@ -18,7 +18,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListAssistants.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListAssistants.g.verified.cs index 2e2753f505..149dc97526 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListAssistants.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListAssistants.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListMessages.g.verified.cs index 4280b20940..4273331b4f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListMessages.g.verified.cs @@ -28,7 +28,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages?limit={limit}&order={order}&after={after}&before={before}&run_id={runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages?limit={limit}&order={order}&after={after}&before={before}&run_id={runId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs index 876762a23b..21c7f66008 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRunSteps.g.verified.cs @@ -28,7 +28,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/steps?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/steps?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRuns.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRuns.g.verified.cs index 0e5963410d..1946db0299 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRuns.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ListRuns.g.verified.cs @@ -26,7 +26,7 @@ public partial class AssistantsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs index 41c252f03d..87ba052bc3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyAssistant.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/assistants/{assistantId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs index e92cf57ea4..3081c541ac 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyMessage.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/messages/{messageId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyRun.g.verified.cs index b50927f1f3..26266d35bf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyRun.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyThread.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyThread.g.verified.cs index 0ca737096b..dd2d43bb73 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyThread.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.ModifyThread.g.verified.cs @@ -22,7 +22,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs index 2098028810..37fbc7af44 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AssistantsClient.SubmitToolOuputsToRun.g.verified.cs @@ -24,7 +24,7 @@ public partial class AssistantsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/threads/{threadId}/runs/{runId}/submit_tool_outputs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/threads/{threadId}/runs/{runId}/submit_tool_outputs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateSpeech.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateSpeech.g.verified.cs index d3ea652fa2..1db2024394 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateSpeech.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateSpeech.g.verified.cs @@ -20,7 +20,7 @@ public partial class AudioClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/audio/speech", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/audio/speech", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranscription.g.verified.cs index 528fbf8701..f899b3e07e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranscription.g.verified.cs @@ -20,7 +20,7 @@ public partial class AudioClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/audio/transcriptions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/audio/transcriptions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranslation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranslation.g.verified.cs index 1a3146736b..e73cfa4ab4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranslation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.AudioClient.CreateTranslation.g.verified.cs @@ -20,7 +20,7 @@ public partial class AudioClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/audio/translations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/audio/translations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CancelBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CancelBatch.g.verified.cs index b9dca278bb..00b65745e0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CancelBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CancelBatch.g.verified.cs @@ -18,7 +18,7 @@ public partial class BatchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CreateBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CreateBatch.g.verified.cs index a2301426e7..ab47959fb6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CreateBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.CreateBatch.g.verified.cs @@ -20,7 +20,7 @@ public partial class BatchClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/batches", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/batches", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.ListBatches.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.ListBatches.g.verified.cs index 9ef059121e..e4c9e709be 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.ListBatches.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.ListBatches.g.verified.cs @@ -20,7 +20,7 @@ public partial class BatchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/batches?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/batches?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.RetrieveBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.RetrieveBatch.g.verified.cs index 611f0096c6..363838b088 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.RetrieveBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.BatchClient.RetrieveBatch.g.verified.cs @@ -18,7 +18,7 @@ public partial class BatchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs index 709858c66a..7a1c32c137 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ChatClient.CreateChatCompletion.g.verified.cs @@ -20,7 +20,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/completions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/completions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs index dbd37b608b..d191dcdd5c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.CompletionsClient.CreateCompletion.g.verified.cs @@ -20,7 +20,7 @@ public partial class CompletionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/completions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/completions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs index 661bf6dff5..9e0bc3aaa0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.EmbeddingsClient.CreateEmbedding.g.verified.cs @@ -20,7 +20,7 @@ public partial class EmbeddingsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/embeddings", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.CreateFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.CreateFile.g.verified.cs index 453284081e..ec503c69be 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.CreateFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.CreateFile.g.verified.cs @@ -24,7 +24,7 @@ public partial class FilesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/files", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/files", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DeleteFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DeleteFile.g.verified.cs index ab49292a00..a3af35dd15 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DeleteFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DeleteFile.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DownloadFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DownloadFile.g.verified.cs index 5c3af614ea..2847c4a6c7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DownloadFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.DownloadFile.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files/{fileId}/content", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files/{fileId}/content", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.ListFiles.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.ListFiles.g.verified.cs index e6559a1d45..b204280b9e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.ListFiles.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.ListFiles.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files?purpose={purpose}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files?purpose={purpose}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.RetrieveFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.RetrieveFile.g.verified.cs index 8d77050a29..c4c394610a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.RetrieveFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FilesClient.RetrieveFile.g.verified.cs @@ -18,7 +18,7 @@ public partial class FilesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs index 70dabfa9e7..5a79690a4d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CancelFineTuningJob.g.verified.cs @@ -18,7 +18,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs index 324e811f24..2ab4b79ff9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.CreateFineTuningJob.g.verified.cs @@ -22,7 +22,7 @@ public partial class FineTuningClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/fine_tuning/jobs", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/fine_tuning/jobs", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs index 0b56bd2445..b14139f450 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningEvents.g.verified.cs @@ -22,7 +22,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}/events?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}/events?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs index 99c0937a14..562ee61411 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListFineTuningJobCheckpoints.g.verified.cs @@ -22,7 +22,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}/checkpoints?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}/checkpoints?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs index 6c2c623121..a61aecf844 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.ListPaginatedFineTuningJobs.g.verified.cs @@ -20,7 +20,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs?after={after}&limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs index 4acbc29d89..c46d7d3694 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.FineTuningClient.RetrieveFineTuningJob.g.verified.cs @@ -19,7 +19,7 @@ public partial class FineTuningClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/fine_tuning/jobs/{fineTuningJobId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/fine_tuning/jobs/{fineTuningJobId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImage.g.verified.cs index b63f198a64..9865ff8af4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImage.g.verified.cs @@ -20,7 +20,7 @@ public partial class ImagesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/images/generations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/images/generations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs index 9fcfb93c58..f22ee2b5f6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageEdit.g.verified.cs @@ -20,7 +20,7 @@ public partial class ImagesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/images/edits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/images/edits", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs index 712953499b..50fad3532a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ImagesClient.CreateImageVariation.g.verified.cs @@ -20,7 +20,7 @@ public partial class ImagesClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/images/variations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/images/variations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs index 862d169622..a8114a8a44 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.DeleteModel.g.verified.cs @@ -18,7 +18,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs index 9c256bdacd..5f20d9c297 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.ListModels.g.verified.cs @@ -16,7 +16,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/models", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/models", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.RetrieveModel.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.RetrieveModel.g.verified.cs index 283888d1b8..2c4ea5ae65 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.RetrieveModel.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModelsClient.RetrieveModel.g.verified.cs @@ -18,7 +18,7 @@ public partial class ModelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{model}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.CreateModeration.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.CreateModeration.g.verified.cs index b8e0797d44..bd7faa038a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.CreateModeration.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.ModerationsClient.CreateModeration.g.verified.cs @@ -20,7 +20,7 @@ public partial class ModerationsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/moderations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/moderations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs index add6d383c8..805bcebd78 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CancelVectorStoreFileBatch.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs index c46da0c575..70f00fc3fd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStore.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/vector_stores", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/vector_stores", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs index 82847dc1bb..1feea3870e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFile.g.verified.cs @@ -22,7 +22,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs index 7ac9d63027..bde1c2c18f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.CreateVectorStoreFileBatch.g.verified.cs @@ -22,7 +22,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs index 3081684170..750830343f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStore.g.verified.cs @@ -18,7 +18,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs index a4f328d941..bb611a41b5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.DeleteVectorStoreFile.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs index e8cb13e278..dfc4118353 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStore.g.verified.cs @@ -18,7 +18,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs index ea95a1e26b..5fecdbc233 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFile.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files/{fileId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs index 98963a2fab..5b30c244a5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.GetVectorStoreFileBatch.g.verified.cs @@ -20,7 +20,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs index 621e6b4625..6b495bb8e6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListFilesInVectorStoreBatch.g.verified.cs @@ -30,7 +30,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/files?limit={limit}&order={order}&after={after}&before={before}&filter={filter}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/file_batches/{batchId}/files?limit={limit}&order={order}&after={after}&before={before}&filter={filter}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs index 8a3380d3b6..01751006ed 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStoreFiles.g.verified.cs @@ -28,7 +28,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}/files?limit={limit}&order={order}&after={after}&before={before}&filter={filter}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}/files?limit={limit}&order={order}&after={after}&before={before}&filter={filter}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs index 4f98e0a7aa..de568dd5fe 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ListVectorStores.g.verified.cs @@ -24,7 +24,7 @@ public partial class VectorStoresClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores?limit={limit}&order={order}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs index 7976ad31f7..f2ab6bccf0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenAi/SystemTextJson/_#G.VectorStoresClient.ModifyVectorStore.g.verified.cs @@ -22,7 +22,7 @@ public partial class VectorStoresClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/vector_stores/{vectorStoreId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/NewtonsoftJson/_#G.Api.GetPets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/NewtonsoftJson/_#G.Api.GetPets.g.verified.cs index 22495a0e2f..5a5efe9761 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/NewtonsoftJson/_#G.Api.GetPets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/NewtonsoftJson/_#G.Api.GetPets.g.verified.cs @@ -16,7 +16,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/pets", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/pets", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/SystemTextJson/_#G.Api.GetPets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/SystemTextJson/_#G.Api.GetPets.g.verified.cs index 22495a0e2f..5a5efe9761 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/SystemTextJson/_#G.Api.GetPets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/OpenApi3_0_Yaml/SystemTextJson/_#G.Api.GetPets.g.verified.cs @@ -16,7 +16,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/pets", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/pets", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelPredictions.g.verified.cs index bc17766d48..cb82bc8247 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelPredictions.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/predictions/{predictionId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/predictions/{predictionId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelTrainings.g.verified.cs index 5883a118bc..8319e6e52c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CancelTrainings.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/trainings/{trainingId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/trainings/{trainingId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateDeployments.g.verified.cs index 6767b3b449..cdb9a9c760 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateDeployments.g.verified.cs @@ -61,7 +61,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/deployments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/deployments", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateModels.g.verified.cs index 997da4627a..4fb13359da 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateModels.g.verified.cs @@ -46,7 +46,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/models", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/models", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictions.g.verified.cs index 937ca9c0b8..3646eda34a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictions.g.verified.cs @@ -60,7 +60,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs index dd6c617fc1..9f3fdf2e1b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs @@ -63,7 +63,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsModels.g.verified.cs index aebbca6cae..4b627a60fd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreatePredictionsModels.g.verified.cs @@ -63,7 +63,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateTrainings.g.verified.cs index 73addf3589..f4cd440e9f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.CreateTrainings.g.verified.cs @@ -67,7 +67,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions/{versionId}/trainings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions/{versionId}/trainings", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteDeployments.g.verified.cs index 42a80ad7fe..3be2be5416 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteDeployments.g.verified.cs @@ -30,7 +30,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteModels.g.verified.cs index 18bbf9e90f..0841fa0d99 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteModels.g.verified.cs @@ -32,7 +32,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteVersionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteVersionsModels.g.verified.cs index 32aad88c9d..0d30321f53 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteVersionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.DeleteVersionsModels.g.verified.cs @@ -37,7 +37,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetAccount.g.verified.cs index 14a19c5e99..0795d6fff3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetAccount.g.verified.cs @@ -32,7 +32,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/account", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/account", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetCollections.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetCollections.g.verified.cs index 39537504d8..eb138d72b4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetCollections.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetCollections.g.verified.cs @@ -33,7 +33,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/collections/{collectionSlug}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/collections/{collectionSlug}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetDeployments.g.verified.cs index 135e54fd9e..ba8212a2f1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetDeployments.g.verified.cs @@ -51,7 +51,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetModels.g.verified.cs index dee3249d0c..bf5b3d1f93 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetModels.g.verified.cs @@ -50,7 +50,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetPredictions.g.verified.cs index 25800c900c..08ee2f36ae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetPredictions.g.verified.cs @@ -61,7 +61,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/predictions/{predictionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/predictions/{predictionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs index 133670e1e4..951170b25d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs @@ -29,7 +29,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/webhooks/default/secret", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/webhooks/default/secret", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetTrainings.g.verified.cs index 40d1013ae1..c55745cbc6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetTrainings.g.verified.cs @@ -62,7 +62,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/trainings/{trainingId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/trainings/{trainingId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetVersionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetVersionsModels.g.verified.cs index 033678f47c..0439387374 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetVersionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.GetVersionsModels.g.verified.cs @@ -64,7 +64,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListCollections.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListCollections.g.verified.cs index 53190621e6..d612d8aaa9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListCollections.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListCollections.g.verified.cs @@ -36,7 +36,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/collections", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/collections", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListDeployments.g.verified.cs index 8ca0d40299..d7e0437f73 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListDeployments.g.verified.cs @@ -53,7 +53,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/deployments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/deployments", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListHardware.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListHardware.g.verified.cs index 03e65ec874..83b5cb4a24 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListHardware.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListHardware.g.verified.cs @@ -31,7 +31,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/hardware", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/hardware", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListModels.g.verified.cs index 66b4dc5fa5..3206dea507 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListModels.g.verified.cs @@ -51,7 +51,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/models", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/models", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListPredictions.g.verified.cs index c6163992dc..434b9aaf17 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListPredictions.g.verified.cs @@ -60,7 +60,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListTrainings.g.verified.cs index a63fa2ac8b..4a12baf7c8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListTrainings.g.verified.cs @@ -62,7 +62,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/trainings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/trainings", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListVersionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListVersionsModels.g.verified.cs index 860644ba2f..f0d1efb6c0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListVersionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.ListVersionsModels.g.verified.cs @@ -41,7 +41,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.UpdateDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.UpdateDeployments.g.verified.cs index 675ca397b0..c092ee7248 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.UpdateDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/NewtonsoftJson/_#G.Api.UpdateDeployments.g.verified.cs @@ -59,7 +59,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelPredictions.g.verified.cs index bc17766d48..cb82bc8247 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelPredictions.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/predictions/{predictionId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/predictions/{predictionId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelTrainings.g.verified.cs index 5883a118bc..8319e6e52c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CancelTrainings.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/trainings/{trainingId}/cancel", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/trainings/{trainingId}/cancel", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateDeployments.g.verified.cs index b575346e0b..fdb25b5264 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateDeployments.g.verified.cs @@ -61,7 +61,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/deployments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/deployments", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateModels.g.verified.cs index 04fdb8bb5e..bc2b110a48 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateModels.g.verified.cs @@ -46,7 +46,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/models", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/models", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictions.g.verified.cs index 14705c39c8..ab427f7c9d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictions.g.verified.cs @@ -60,7 +60,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs index 593e45090b..2113367652 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsDeployments.g.verified.cs @@ -63,7 +63,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsModels.g.verified.cs index b1bc0749ee..eab3b8def4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreatePredictionsModels.g.verified.cs @@ -63,7 +63,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateTrainings.g.verified.cs index 90f04b3b60..d97c32cc42 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.CreateTrainings.g.verified.cs @@ -67,7 +67,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions/{versionId}/trainings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions/{versionId}/trainings", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteDeployments.g.verified.cs index 42a80ad7fe..3be2be5416 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteDeployments.g.verified.cs @@ -30,7 +30,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteModels.g.verified.cs index 18bbf9e90f..0841fa0d99 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteModels.g.verified.cs @@ -32,7 +32,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteVersionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteVersionsModels.g.verified.cs index 32aad88c9d..0d30321f53 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteVersionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.DeleteVersionsModels.g.verified.cs @@ -37,7 +37,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetAccount.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetAccount.g.verified.cs index ceb4cb28c7..c7c02047d5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetAccount.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetAccount.g.verified.cs @@ -32,7 +32,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/account", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/account", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetCollections.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetCollections.g.verified.cs index 39537504d8..eb138d72b4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetCollections.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetCollections.g.verified.cs @@ -33,7 +33,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/collections/{collectionSlug}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/collections/{collectionSlug}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetDeployments.g.verified.cs index bbea8bb0d4..09ce881ed2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetDeployments.g.verified.cs @@ -51,7 +51,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetModels.g.verified.cs index dee3249d0c..bf5b3d1f93 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetModels.g.verified.cs @@ -50,7 +50,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetPredictions.g.verified.cs index 25800c900c..08ee2f36ae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetPredictions.g.verified.cs @@ -61,7 +61,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/predictions/{predictionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/predictions/{predictionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs index ed1e2f2718..5f68b714c6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetSecretDefaultWebhooks.g.verified.cs @@ -29,7 +29,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/webhooks/default/secret", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/webhooks/default/secret", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetTrainings.g.verified.cs index 40d1013ae1..c55745cbc6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetTrainings.g.verified.cs @@ -62,7 +62,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/trainings/{trainingId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/trainings/{trainingId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetVersionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetVersionsModels.g.verified.cs index 033678f47c..0439387374 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetVersionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.GetVersionsModels.g.verified.cs @@ -64,7 +64,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions/{versionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListCollections.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListCollections.g.verified.cs index 53190621e6..d612d8aaa9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListCollections.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListCollections.g.verified.cs @@ -36,7 +36,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/collections", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/collections", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListDeployments.g.verified.cs index 25b6db725c..f3ca6b62ab 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListDeployments.g.verified.cs @@ -53,7 +53,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/deployments", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/deployments", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListHardware.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListHardware.g.verified.cs index e4b38f8b1d..e206fd3ac8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListHardware.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListHardware.g.verified.cs @@ -31,7 +31,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/hardware", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/hardware", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListModels.g.verified.cs index 66b4dc5fa5..3206dea507 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListModels.g.verified.cs @@ -51,7 +51,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/models", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/models", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListPredictions.g.verified.cs index c6163992dc..434b9aaf17 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListPredictions.g.verified.cs @@ -60,7 +60,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListTrainings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListTrainings.g.verified.cs index a63fa2ac8b..4a12baf7c8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListTrainings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListTrainings.g.verified.cs @@ -62,7 +62,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/trainings", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/trainings", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListVersionsModels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListVersionsModels.g.verified.cs index 860644ba2f..f0d1efb6c0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListVersionsModels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.ListVersionsModels.g.verified.cs @@ -41,7 +41,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/models/{modelOwner}/{modelName}/versions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/models/{modelOwner}/{modelName}/versions", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.UpdateDeployments.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.UpdateDeployments.g.verified.cs index deaa616eef..28ddc77afd 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.UpdateDeployments.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Replicate/SystemTextJson/_#G.Api.UpdateDeployments.g.verified.cs @@ -59,7 +59,7 @@ public partial class Api using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/deployments/{deploymentOwner}/{deploymentName}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.CreatePets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.CreatePets.g.verified.cs index e4def132ca..9aa0baf5cf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.CreatePets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.CreatePets.g.verified.cs @@ -16,7 +16,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/pets", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/pets", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ListPets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ListPets.g.verified.cs index e77527fd8e..d58a15eddc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ListPets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ListPets.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/pets?limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/pets?limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ShowPetById.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ShowPetById.g.verified.cs index 286e2a9dd5..01066f2482 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ShowPetById.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/NewtonsoftJson/_#G.Api.ShowPetById.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/pets/{petId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/pets/{petId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.CreatePets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.CreatePets.g.verified.cs index 7223b44a09..cd580cd90b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.CreatePets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.CreatePets.g.verified.cs @@ -16,7 +16,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/pets", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/pets", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ListPets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ListPets.g.verified.cs index da88dddb2f..584a8ee8a9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ListPets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ListPets.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/pets?limit={limit}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/pets?limit={limit}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ShowPetById.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ShowPetById.g.verified.cs index bb7b4ca347..13a309cd92 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ShowPetById.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/SpecialCases/SystemTextJson/_#G.Api.ShowPetById.g.verified.cs @@ -18,7 +18,7 @@ public partial class Api { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/pets/{petId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/pets/{petId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.GetAdSchedule.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.GetAdSchedule.g.verified.cs index e0bc15113a..40644268b3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.GetAdSchedule.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.GetAdSchedule.g.verified.cs @@ -21,7 +21,7 @@ public partial class AdsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/ads?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/ads?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs index 4b0a5c41a5..2e9b3851a5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs @@ -21,7 +21,7 @@ public partial class AdsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/ads/schedule/snooze?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/ads/schedule/snooze?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.StartCommercial.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.StartCommercial.g.verified.cs index 5c53ff5f31..e7ba788ab5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.StartCommercial.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AdsClient.StartCommercial.g.verified.cs @@ -25,7 +25,7 @@ public partial class AdsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/channels/commercial", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/channels/commercial", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs index eebf686755..41a6bcddb8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs @@ -36,7 +36,7 @@ public partial class AnalyticsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/analytics/extensions?extension_id={extensionId}&type={typeValue}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/analytics/extensions?extension_id={extensionId}&type={typeValue}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs index f3d7066204..b6507dd719 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs @@ -36,7 +36,7 @@ public partial class AnalyticsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/analytics/games?game_id={gameId}&type={typeValue}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/analytics/games?game_id={gameId}&type={typeValue}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs index fe048f010a..54e6b46f56 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs @@ -36,7 +36,7 @@ public partial class BitsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/bits/leaderboard?count={count}&period={periodValue}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/bits/leaderboard?count={count}&period={periodValue}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetCheermotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetCheermotes.g.verified.cs index c138551f14..f32e7b9a06 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetCheermotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetCheermotes.g.verified.cs @@ -21,7 +21,7 @@ public partial class BitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/bits/cheermotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/bits/cheermotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs index fb7af88218..728f41db18 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs @@ -28,7 +28,7 @@ public partial class BitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/transactions?extension_id={extensionId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/transactions?extension_id={extensionId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs index 17c6c77e24..1196d0406a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs @@ -21,7 +21,7 @@ public partial class CCLsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/content_classification_labels?locale={locale}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/content_classification_labels?locale={locale}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs index 558941d334..aa9fe78d80 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs @@ -25,7 +25,7 @@ public partial class ChannelPointsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs index ed7f5ddcdf..d3c4008989 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChannelPointsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs index 3b991c8d48..db404a7762 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChannelPointsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&only_manageable_rewards={onlyManageableRewards}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&only_manageable_rewards={onlyManageableRewards}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs index c03692c15c..d8b7577378 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs @@ -47,7 +47,7 @@ public partial class ChannelPointsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards/redemptions?broadcaster_id={broadcasterId}&reward_id={rewardId}&status={statusValue}&{string.Join("&", id.Select(static x => $"id={x}"))}&sort={sortValue}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards/redemptions?broadcaster_id={broadcasterId}&reward_id={rewardId}&status={statusValue}&{string.Join("&", id.Select(static x => $"id={x}"))}&sort={sortValue}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs index 884f423ad0..e9a9fecd64 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs @@ -29,7 +29,7 @@ public partial class ChannelPointsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs index c7b56163a3..548a733297 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs @@ -30,7 +30,7 @@ public partial class ChannelPointsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards/redemptions?{string.Join("&", id.Select(static x => $"id={x}"))}&broadcaster_id={broadcasterId}&reward_id={rewardId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards/redemptions?{string.Join("&", id.Select(static x => $"id={x}"))}&broadcaster_id={broadcasterId}&reward_id={rewardId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs index 1ebbeb79de..7c54124eca 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/editors?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/editors?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs index ac5579a454..0c1003e624 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs @@ -29,7 +29,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/followers?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/followers?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs index aa10081196..1339ca52b5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs @@ -22,7 +22,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels?{string.Join("&", broadcasterId.Select(static x => $"broadcasterId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels?{string.Join("&", broadcasterId.Select(static x => $"broadcasterId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs index 2575c9e469..08577e8f33 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/followed?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/followed?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs index f2db505df9..59ccecd995 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChannelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs index 9d272ba123..652672ef01 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs @@ -22,7 +22,7 @@ public partial class CharityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/charity/campaigns?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/charity/campaigns?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs index 232b843360..7552d60c48 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs @@ -26,7 +26,7 @@ public partial class CharityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/charity/donations?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/charity/donations?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs index bea12edeca..e1fc045556 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/badges?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/badges?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs index cd21bb9318..2dc544e4cb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs @@ -23,7 +23,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/emotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/emotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatSettings.g.verified.cs index 03db11e307..0c3621443a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatSettings.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatters.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatters.g.verified.cs index 28607f013b..ddd551d9a6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatters.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetChatters.g.verified.cs @@ -29,7 +29,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/chatters?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/chatters?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetEmoteSets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetEmoteSets.g.verified.cs index 37b3644554..ec06445f96 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetEmoteSets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetEmoteSets.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/emotes/set?{string.Join("&", emoteSetId.Select(static x => $"emoteSetId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/emotes/set?{string.Join("&", emoteSetId.Select(static x => $"emoteSetId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs index 62ef8e1720..c2f7344b8d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/badges/global", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/badges/global", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs index 36236eaf1c..e72a91f7d1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs @@ -22,7 +22,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/emotes/global", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/emotes/global", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserChatColor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserChatColor.g.verified.cs index 831815eeca..1644f3a396 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserChatColor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserChatColor.g.verified.cs @@ -22,7 +22,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/color?{string.Join("&", userId.Select(static x => $"userId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/color?{string.Join("&", userId.Select(static x => $"userId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserEmotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserEmotes.g.verified.cs index 319e40d906..edf235b046 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserEmotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.GetUserEmotes.g.verified.cs @@ -26,7 +26,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/emotes/user?user_id={userId}&broadcaster_id={broadcasterId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/emotes/user?user_id={userId}&broadcaster_id={broadcasterId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendAShoutout.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendAShoutout.g.verified.cs index eb6dcde391..7fbc81ffeb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendAShoutout.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendAShoutout.g.verified.cs @@ -28,7 +28,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/shoutouts?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/shoutouts?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs index a0a64b4582..ca58ba5bba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/announcements?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/announcements?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatMessage.g.verified.cs index 0e371147e1..96efcffdab 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.SendChatMessage.g.verified.cs @@ -23,7 +23,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/messages", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/messages", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs index 8f04fbb7a4..5dbc9048a6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs @@ -32,7 +32,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs index 0f3f1acb51..ca7f9a6b70 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs @@ -42,7 +42,7 @@ public partial class ChatClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/color?user_id={userId}&color={colorValue}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/color?user_id={userId}&color={colorValue}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.CreateClip.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.CreateClip.g.verified.cs index 89d267be5c..956b8991b0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.CreateClip.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.CreateClip.g.verified.cs @@ -26,7 +26,7 @@ public partial class ClipsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/clips?broadcaster_id={broadcasterId}&has_delay={hasDelay}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/clips?broadcaster_id={broadcasterId}&has_delay={hasDelay}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.GetClips.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.GetClips.g.verified.cs index bbc7f3479b..b36e3b91eb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.GetClips.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ClipsClient.GetClips.g.verified.cs @@ -40,7 +40,7 @@ public partial class ClipsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/clips?broadcaster_id={broadcasterId}&game_id={gameId}&{string.Join("&", id.Select(static x => $"id={x}"))}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&before={before}&after={after}&is_featured={isFeatured}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/clips?broadcaster_id={broadcasterId}&game_id={gameId}&{string.Join("&", id.Select(static x => $"id={x}"))}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&before={before}&after={after}&is_featured={isFeatured}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.CreateConduits.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.CreateConduits.g.verified.cs index b82180389b..b8f33e6a4b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.CreateConduits.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.CreateConduits.g.verified.cs @@ -23,7 +23,7 @@ public partial class ConduitsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs index 43e1e0bbe8..2edb3e86fa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs @@ -21,7 +21,7 @@ public partial class ConduitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/conduits?id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/conduits?id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs index f9d0385df8..289e7135fa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs @@ -25,7 +25,7 @@ public partial class ConduitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/conduits/shards?conduit_id={conduitId}&status={status}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/conduits/shards?conduit_id={conduitId}&status={status}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduits.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduits.g.verified.cs index ca1b951f94..faa51770e1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduits.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.GetConduits.g.verified.cs @@ -19,7 +19,7 @@ public partial class ConduitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs index ab2450d4a6..5acdd21fce 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs @@ -24,7 +24,7 @@ public partial class ConduitsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits/shards", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits/shards", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs index 2e5ded0149..dd1d24eaac 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs @@ -23,7 +23,7 @@ public partial class ConduitsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs index f62580e4d1..a710c1827b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs @@ -50,7 +50,7 @@ public partial class EntitlementsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/entitlements/drops?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&fulfillment_status={fulfillmentStatusValue}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/entitlements/drops?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&fulfillment_status={fulfillmentStatusValue}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs index aebb106574..c1767b03d7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs @@ -28,7 +28,7 @@ public partial class EntitlementsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/entitlements/drops", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/entitlements/drops", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs index c171196d15..cbd398edd3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs @@ -25,7 +25,7 @@ public partial class EventSubClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/subscriptions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/subscriptions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs index 30ceb9462e..7f81bef8c3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs @@ -22,7 +22,7 @@ public partial class EventSubClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/subscriptions?id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/subscriptions?id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs index cd908ea582..45e55ba3a0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs @@ -124,7 +124,7 @@ public partial class EventSubClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/subscriptions?status={statusValue}&type={typeValue}&user_id={userId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/subscriptions?status={statusValue}&type={typeValue}&user_id={userId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs index 7f042bcc9f..d55e7a30d7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/jwt/secrets?extension_id={extensionId}&delay={delay}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/jwt/secrets?extension_id={extensionId}&delay={delay}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs index 1fffdbc248..c09d27b725 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs @@ -21,7 +21,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/bits/extensions?should_include_all={shouldIncludeAll}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/bits/extensions?should_include_all={shouldIncludeAll}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs index 325a3ef13f..645384abd4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs @@ -33,7 +33,7 @@ public partial class ExtensionsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/configurations?broadcaster_id={broadcasterId}&extension_id={extensionId}&segment={segmentValue}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/configurations?broadcaster_id={broadcasterId}&extension_id={extensionId}&segment={segmentValue}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs index 15371be994..ed8817a143 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs @@ -26,7 +26,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/live?extension_id={extensionId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/live?extension_id={extensionId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs index de591f2fed..71c3c607fb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs @@ -19,7 +19,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/extensions/jwt/secrets", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/extensions/jwt/secrets", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs index b7decb07b9..96b5d843d0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs index a59f4d586f..0807c74eab 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/released?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/released?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs index 53d03dcec8..f20e0accbc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs @@ -26,7 +26,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/chat?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/chat?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs index b1591e0d46..06876dd1a1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs @@ -52,7 +52,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/extensions/pubsub", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/extensions/pubsub", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs index e2f3981e6c..8dbc9f60ae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs @@ -24,7 +24,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/extensions/configurations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/extensions/configurations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs index 6dc72255fe..02ebc7bc2f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs @@ -25,7 +25,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/required_configuration?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/required_configuration?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs index 6a05931bf0..dfe1640d1f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/bits/extensions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/bits/extensions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetGames.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetGames.g.verified.cs index 564f55b0da..589c56b9bc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetGames.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetGames.g.verified.cs @@ -27,7 +27,7 @@ public partial class GamesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/games?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", name.Select(static x => $"name={x}"))}&{string.Join("&", igdbId.Select(static x => $"igdbId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/games?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", name.Select(static x => $"name={x}"))}&{string.Join("&", igdbId.Select(static x => $"igdbId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetTopGames.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetTopGames.g.verified.cs index 678bc32d56..84bcc54c19 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetTopGames.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GamesClient.GetTopGames.g.verified.cs @@ -25,7 +25,7 @@ public partial class GamesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/games/top?first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/games/top?first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs index 4f80e58bf1..e587db9448 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs @@ -22,7 +22,7 @@ public partial class GoalsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/goals?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/goals?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs index 647a777fac..76ab4c3427 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs @@ -30,7 +30,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs index 3aa2e44955..08613ea8e5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs @@ -22,7 +22,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/session?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/session?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs index ab89366f3d..e74aa121be 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs @@ -28,7 +28,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs index 04d73bdf9f..583a3d84b7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs @@ -32,7 +32,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}&should_reinvite_guest={shouldReinviteGuest}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}&should_reinvite_guest={shouldReinviteGuest}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs index cf6d188b16..5868cd1b09 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs @@ -24,7 +24,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/session?broadcaster_id={broadcasterId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/session?broadcaster_id={broadcasterId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs index 5d1fc78910..5890e20945 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs @@ -24,7 +24,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs index edbd120d09..e9cfdd40de 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs @@ -26,7 +26,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs index 467e7887cd..2bb6d0c4d3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs @@ -24,7 +24,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/session?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/session?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs index 7edb41bf53..bccf9660d1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs @@ -28,7 +28,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs index b754d21a5e..72cb9c3cc7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs @@ -26,7 +26,7 @@ public partial class GuestStarClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs index d22bfe8fc0..dfa2a0df85 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs @@ -30,7 +30,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&source_slot_id={sourceSlotId}&destination_slot_id={destinationSlotId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&source_slot_id={sourceSlotId}&destination_slot_id={destinationSlotId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs index 1aaabfdb79..54c83c9645 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs @@ -36,7 +36,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&slot_id={slotId}&is_audio_enabled={isAudioEnabled}&is_video_enabled={isVideoEnabled}&is_live={isLive}&volume={volume}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&slot_id={slotId}&is_audio_enabled={isAudioEnabled}&is_video_enabled={isVideoEnabled}&is_live={isLive}&volume={volume}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs index 48620acdb4..15f12ec4d8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs @@ -26,7 +26,7 @@ public partial class HypeTrainClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/hypetrain/events?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/hypetrain/events?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs index 9242853f16..3fc258dbad 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs @@ -27,7 +27,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs index 4b12fa0432..05c9685eaa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelVip.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelVip.g.verified.cs index 37a8c5c805..f45101d25f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelVip.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.AddChannelVip.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.BanUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.BanUser.g.verified.cs index 70b2f72720..a9176cc71c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.BanUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.BanUser.g.verified.cs @@ -30,7 +30,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs index 11992b480f..5049b2cb4e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs @@ -33,7 +33,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/enforcements/status?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/enforcements/status?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs index 256cabcc7b..6dfc137b86 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs @@ -25,7 +25,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/chat?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&message_id={messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/chat?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&message_id={messageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs index b6cea2e97b..7558c10a70 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs @@ -23,7 +23,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs index d7d55ffd14..f8a5d13991 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs @@ -30,7 +30,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/banned?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/banned?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs index efcca83965..a010c5264c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs @@ -27,7 +27,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs index 1fe5402c67..476ebdb0cc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs @@ -26,7 +26,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/channels?user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/channels?user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModerators.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModerators.g.verified.cs index cb6327f14a..bd4b4abea9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModerators.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetModerators.g.verified.cs @@ -28,7 +28,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/moderators?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/moderators?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs index c6ac498ab8..7023ae5a0d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs index e1a7753322..2b5957f832 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs @@ -32,7 +32,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&status={status}&user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&status={status}&user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetVips.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetVips.g.verified.cs index c0796bcc16..ca75535d59 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetVips.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.GetVips.g.verified.cs @@ -28,7 +28,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/vips?{string.Join("&", userId.Select(static x => $"userId={x}"))}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/vips?{string.Join("&", userId.Select(static x => $"userId={x}"))}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs index 22ba576897..617c551b8c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/moderation/automod/message", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/moderation/automod/message", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs index 5e8fccc06e..0efd309acf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs @@ -25,7 +25,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs index cc457e8465..fa2f39baba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs index 56bf8000af..d1d09323c1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs @@ -25,7 +25,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs index e9008a0a8b..0e4111786a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs @@ -30,7 +30,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&unban_request_id={unbanRequestId}&status={status}&resolution_text={resolutionText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&unban_request_id={unbanRequestId}&status={status}&resolution_text={resolutionText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UnbanUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UnbanUser.g.verified.cs index 5eb612b197..70cf6b8635 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UnbanUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UnbanUser.g.verified.cs @@ -26,7 +26,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs index 848a050ea0..8b403e856d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs @@ -34,7 +34,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs index 8827c277a3..a293845843 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs @@ -28,7 +28,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.CreatePoll.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.CreatePoll.g.verified.cs index d4ff24730f..ed2944963f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.CreatePoll.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.CreatePoll.g.verified.cs @@ -24,7 +24,7 @@ public partial class PollsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/polls", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/polls", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.EndPoll.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.EndPoll.g.verified.cs index 014c11fdd9..98332218ad 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.EndPoll.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.EndPoll.g.verified.cs @@ -23,7 +23,7 @@ public partial class PollsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/polls", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/polls", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.GetPolls.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.GetPolls.g.verified.cs index c56cab3d2b..1e7cbd9f80 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.GetPolls.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PollsClient.GetPolls.g.verified.cs @@ -29,7 +29,7 @@ public partial class PollsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/polls?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/polls?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs index 62a68ed7f5..8beb7e0b95 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs @@ -24,7 +24,7 @@ public partial class PredictionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.EndPrediction.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.EndPrediction.g.verified.cs index cb19e19d3a..78935e72a6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.EndPrediction.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.EndPrediction.g.verified.cs @@ -23,7 +23,7 @@ public partial class PredictionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.GetPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.GetPredictions.g.verified.cs index da68e44c26..3773424044 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.GetPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.PredictionsClient.GetPredictions.g.verified.cs @@ -28,7 +28,7 @@ public partial class PredictionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/predictions?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/predictions?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.CancelARaid.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.CancelARaid.g.verified.cs index b28af5c556..97738fb26e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.CancelARaid.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.CancelARaid.g.verified.cs @@ -23,7 +23,7 @@ public partial class RaidsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/raids?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/raids?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.StartARaid.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.StartARaid.g.verified.cs index 537cf0c11b..bc61930448 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.StartARaid.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.RaidsClient.StartARaid.g.verified.cs @@ -27,7 +27,7 @@ public partial class RaidsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/raids?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/raids?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs index 987a52b37e..6b912e3d8f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs @@ -25,7 +25,7 @@ public partial class ScheduleClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/segment?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/segment?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs index 3aaac77e57..cfe2a00072 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs @@ -24,7 +24,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs index 0143d87113..6426bd8014 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs @@ -24,7 +24,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/icalendar?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/icalendar?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs index a0893f590c..8e7c73daa5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs @@ -32,7 +32,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&start_time={startTime:yyyy-MM-ddTHH:mm:ssZ}&utc_offset={utcOffset}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&start_time={startTime:yyyy-MM-ddTHH:mm:ssZ}&utc_offset={utcOffset}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs index 79bede1fa3..0c3dcc1936 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs @@ -29,7 +29,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/settings?broadcaster_id={broadcasterId}&is_vacation_enabled={isVacationEnabled}&vacation_start_time={vacationStartTime:yyyy-MM-ddTHH:mm:ssZ}&vacation_end_time={vacationEndTime:yyyy-MM-ddTHH:mm:ssZ}&timezone={timezone}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/settings?broadcaster_id={broadcasterId}&is_vacation_enabled={isVacationEnabled}&vacation_start_time={vacationStartTime:yyyy-MM-ddTHH:mm:ssZ}&vacation_end_time={vacationEndTime:yyyy-MM-ddTHH:mm:ssZ}&timezone={timezone}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs index beaba817e0..8efd0aad3d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs @@ -28,7 +28,7 @@ public partial class ScheduleClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchCategories.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchCategories.g.verified.cs index 6b38bb319d..c188e7e2b8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchCategories.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchCategories.g.verified.cs @@ -26,7 +26,7 @@ public partial class SearchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/search/categories?query={query}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/search/categories?query={query}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchChannels.g.verified.cs index d57e7c9842..f512e0a8b3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SearchClient.SearchChannels.g.verified.cs @@ -30,7 +30,7 @@ public partial class SearchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/search/channels?query={query}&live_only={liveOnly}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/search/channels?query={query}&live_only={liveOnly}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs index 565fbed7b9..53ef865bf8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs @@ -28,7 +28,7 @@ public partial class StreamsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/streams/markers", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/streams/markers", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs index 9ff80d7942..0493e58d0a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs @@ -25,7 +25,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/followed?user_id={userId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/followed?user_id={userId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamKey.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamKey.g.verified.cs index c8f9edbeb2..05359f91f5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamKey.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamKey.g.verified.cs @@ -21,7 +21,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/key?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/key?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs index 73474b66aa..78e485772c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs @@ -29,7 +29,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/markers?user_id={userId}&video_id={videoId}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/markers?user_id={userId}&video_id={videoId}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreams.g.verified.cs index fab7b7b523..b31c38597a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.StreamsClient.GetStreams.g.verified.cs @@ -42,7 +42,7 @@ public partial class StreamsClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams?{string.Join("&", userId.Select(static x => $"userId={x}"))}&{string.Join("&", userLogin.Select(static x => $"userLogin={x}"))}&{string.Join("&", gameId.Select(static x => $"gameId={x}"))}&type={typeValue}&{string.Join("&", language.Select(static x => $"language={x}"))}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams?{string.Join("&", userId.Select(static x => $"userId={x}"))}&{string.Join("&", userLogin.Select(static x => $"userLogin={x}"))}&{string.Join("&", gameId.Select(static x => $"gameId={x}"))}&type={typeValue}&{string.Join("&", language.Select(static x => $"language={x}"))}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs index 86ab61a42d..333e763977 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs @@ -24,7 +24,7 @@ public partial class SubscriptionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/subscriptions/user?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/subscriptions/user?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs index 8fc0e759be..d75581008d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs @@ -31,7 +31,7 @@ public partial class SubscriptionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/subscriptions?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/subscriptions?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs index e5b10b0003..7353972101 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs @@ -28,7 +28,7 @@ public partial class TagsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/tags/streams?{string.Join("&", tagId.Select(static x => $"tagId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/tags/streams?{string.Join("&", tagId.Select(static x => $"tagId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetStreamTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetStreamTags.g.verified.cs index cacf673d51..b3a62fac1c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetStreamTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TagsClient.GetStreamTags.g.verified.cs @@ -23,7 +23,7 @@ public partial class TagsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/tags?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/tags?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs index 30c6341241..068ae2c6ae 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs @@ -21,7 +21,7 @@ public partial class TeamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/teams/channel?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams/channel?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetTeams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetTeams.g.verified.cs index 11b32d8bcd..01b7032a6a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetTeams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.TeamsClient.GetTeams.g.verified.cs @@ -23,7 +23,7 @@ public partial class TeamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/teams?name={name}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams?name={name}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.BlockUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.BlockUser.g.verified.cs index 19981c634d..307a021ebb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.BlockUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.BlockUser.g.verified.cs @@ -39,7 +39,7 @@ public partial class UsersClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/blocks?target_user_id={targetUserId}&source_context={sourceContextValue}&reason={reasonValue}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/blocks?target_user_id={targetUserId}&source_context={sourceContextValue}&reason={reasonValue}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs index 617e955844..b89c4b6073 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs @@ -22,7 +22,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/extensions?user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/extensions?user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserBlockList.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserBlockList.g.verified.cs index bea26a221c..b16db88701 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserBlockList.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserBlockList.g.verified.cs @@ -25,7 +25,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/blocks?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/blocks?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserExtensions.g.verified.cs index 3ac3f921fd..dca00ebb94 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUserExtensions.g.verified.cs @@ -19,7 +19,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/users/extensions/list", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/users/extensions/list", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUsers.g.verified.cs index 2e53434d05..7100b0b4b9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.GetUsers.g.verified.cs @@ -30,7 +30,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", login.Select(static x => $"login={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", login.Select(static x => $"login={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UnblockUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UnblockUser.g.verified.cs index 31c49fbf38..47670fd368 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UnblockUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UnblockUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/blocks?target_user_id={targetUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/blocks?target_user_id={targetUserId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUser.g.verified.cs index e3fb3e4a43..2e8a24c54c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUser.g.verified.cs @@ -22,7 +22,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users?description={description}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users?description={description}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs index ead587ea4f..a0a9949888 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs @@ -24,7 +24,7 @@ public partial class UsersClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/users/extensions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/users/extensions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.DeleteVideos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.DeleteVideos.g.verified.cs index 644903d538..516083d33d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.DeleteVideos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.DeleteVideos.g.verified.cs @@ -22,7 +22,7 @@ public partial class VideosClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.GetVideos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.GetVideos.g.verified.cs index b7f3a323f0..109d3d8a02 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.GetVideos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.VideosClient.GetVideos.g.verified.cs @@ -64,7 +64,7 @@ public partial class VideosClient }; using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&language={language}&period={periodValue}&sort={sortValue}&type={typeValue}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&language={language}&period={periodValue}&sort={sortValue}&type={typeValue}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.SendWhisper.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.SendWhisper.g.verified.cs index 70bbc07bfc..b069d08bb0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.SendWhisper.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/NewtonsoftJson/_#G.WhispersClient.SendWhisper.g.verified.cs @@ -30,7 +30,7 @@ public partial class WhispersClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/whispers?from_user_id={fromUserId}&to_user_id={toUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/whispers?from_user_id={fromUserId}&to_user_id={toUserId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.GetAdSchedule.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.GetAdSchedule.g.verified.cs index c8a67f8c62..e52cc0ab93 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.GetAdSchedule.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.GetAdSchedule.g.verified.cs @@ -21,7 +21,7 @@ public partial class AdsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/ads?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/ads?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs index 23a0912b5b..c9499ee146 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.SnoozeNextAd.g.verified.cs @@ -21,7 +21,7 @@ public partial class AdsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/ads/schedule/snooze?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/ads/schedule/snooze?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.StartCommercial.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.StartCommercial.g.verified.cs index a5646f6565..7cfd4d0b7a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.StartCommercial.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AdsClient.StartCommercial.g.verified.cs @@ -25,7 +25,7 @@ public partial class AdsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/channels/commercial", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/channels/commercial", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs index 2cd2ea18d3..c5086e1017 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs @@ -31,7 +31,7 @@ public partial class AnalyticsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/analytics/extensions?extension_id={extensionId}&type={type}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/analytics/extensions?extension_id={extensionId}&type={type}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs index 4b1cbf1197..f4d3c11db2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs @@ -31,7 +31,7 @@ public partial class AnalyticsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/analytics/games?game_id={gameId}&type={type}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/analytics/games?game_id={gameId}&type={type}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs index 8d005a77d0..98690565f9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetBitsLeaderboard.g.verified.cs @@ -27,7 +27,7 @@ public partial class BitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/bits/leaderboard?count={count}&period={period}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/bits/leaderboard?count={count}&period={period}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetCheermotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetCheermotes.g.verified.cs index 6326cd5227..bd5a526fc5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetCheermotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetCheermotes.g.verified.cs @@ -21,7 +21,7 @@ public partial class BitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/bits/cheermotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/bits/cheermotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs index 8e343b5da9..a6bdd07f3e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.BitsClient.GetExtensionTransactions.g.verified.cs @@ -28,7 +28,7 @@ public partial class BitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/transactions?extension_id={extensionId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/transactions?extension_id={extensionId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs index df8f82e028..92cace62b7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CCLsClient.GetContentClassificationLabels.g.verified.cs @@ -21,7 +21,7 @@ public partial class CCLsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/content_classification_labels?locale={locale}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/content_classification_labels?locale={locale}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs index 44dec52e45..19547d7803 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.CreateCustomRewards.g.verified.cs @@ -25,7 +25,7 @@ public partial class ChannelPointsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs index ed7f5ddcdf..d3c4008989 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.DeleteCustomReward.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChannelPointsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs index 9a30a75a90..b0ecd0f0a4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomReward.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChannelPointsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&only_manageable_rewards={onlyManageableRewards}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&only_manageable_rewards={onlyManageableRewards}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs index 6c95a2beb9..2468425c20 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.GetCustomRewardRedemption.g.verified.cs @@ -34,7 +34,7 @@ public partial class ChannelPointsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards/redemptions?broadcaster_id={broadcasterId}&reward_id={rewardId}&status={status}&{string.Join("&", id.Select(static x => $"id={x}"))}&sort={sort}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards/redemptions?broadcaster_id={broadcasterId}&reward_id={rewardId}&status={status}&{string.Join("&", id.Select(static x => $"id={x}"))}&sort={sort}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs index a9397a3694..91cf8095ca 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateCustomReward.g.verified.cs @@ -29,7 +29,7 @@ public partial class ChannelPointsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs index 31fe96d88f..5f24c86130 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelPointsClient.UpdateRedemptionStatus.g.verified.cs @@ -30,7 +30,7 @@ public partial class ChannelPointsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channel_points/custom_rewards/redemptions?{string.Join("&", id.Select(static x => $"id={x}"))}&broadcaster_id={broadcasterId}&reward_id={rewardId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channel_points/custom_rewards/redemptions?{string.Join("&", id.Select(static x => $"id={x}"))}&broadcaster_id={broadcasterId}&reward_id={rewardId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs index e1c11e3cc4..6db257dfa6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelEditors.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/editors?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/editors?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs index d1ca63ed80..d086f2322c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelFollowers.g.verified.cs @@ -29,7 +29,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/followers?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/followers?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs index 1dbc06261b..b513ef10b8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetChannelInformation.g.verified.cs @@ -22,7 +22,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels?{string.Join("&", broadcasterId.Select(static x => $"broadcasterId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels?{string.Join("&", broadcasterId.Select(static x => $"broadcasterId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs index bec35b6f8c..6e6712dd39 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.GetFollowedChannels.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChannelsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/followed?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/followed?user_id={userId}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs index 73a878ae0f..e28aebdf03 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChannelsClient.ModifyChannelInformation.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChannelsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs index 92a8b8b6ec..4161c5b25b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaign.g.verified.cs @@ -22,7 +22,7 @@ public partial class CharityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/charity/campaigns?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/charity/campaigns?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs index 3e71fa84f4..5d0d0c4602 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.CharityClient.GetCharityCampaignDonations.g.verified.cs @@ -26,7 +26,7 @@ public partial class CharityClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/charity/donations?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/charity/donations?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs index 9ee4d31a47..c0cf8e5efc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelChatBadges.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/badges?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/badges?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs index ff593309e7..9bf2c2be27 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChannelEmotes.g.verified.cs @@ -23,7 +23,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/emotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/emotes?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatSettings.g.verified.cs index 105e703400..45ce1e84c2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatSettings.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatters.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatters.g.verified.cs index 36d567cc44..1f06b3cf49 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatters.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetChatters.g.verified.cs @@ -29,7 +29,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/chatters?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/chatters?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetEmoteSets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetEmoteSets.g.verified.cs index 9eedc9f0cd..47662878b2 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetEmoteSets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetEmoteSets.g.verified.cs @@ -24,7 +24,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/emotes/set?{string.Join("&", emoteSetId.Select(static x => $"emoteSetId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/emotes/set?{string.Join("&", emoteSetId.Select(static x => $"emoteSetId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs index f0523c748c..403bb15748 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalChatBadges.g.verified.cs @@ -21,7 +21,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/badges/global", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/badges/global", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs index 95c3914b5a..a8edbb9e5c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetGlobalEmotes.g.verified.cs @@ -22,7 +22,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/emotes/global", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/emotes/global", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserChatColor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserChatColor.g.verified.cs index ac4b800bd6..ef8f70cd1d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserChatColor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserChatColor.g.verified.cs @@ -22,7 +22,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/color?{string.Join("&", userId.Select(static x => $"userId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/color?{string.Join("&", userId.Select(static x => $"userId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserEmotes.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserEmotes.g.verified.cs index eab15ee1e7..b14d348a58 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserEmotes.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.GetUserEmotes.g.verified.cs @@ -26,7 +26,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/emotes/user?user_id={userId}&broadcaster_id={broadcasterId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/emotes/user?user_id={userId}&broadcaster_id={broadcasterId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendAShoutout.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendAShoutout.g.verified.cs index eb6dcde391..7fbc81ffeb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendAShoutout.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendAShoutout.g.verified.cs @@ -28,7 +28,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/shoutouts?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/shoutouts?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs index b624e32b6d..a1637731c3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatAnnouncement.g.verified.cs @@ -27,7 +27,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/announcements?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/announcements?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatMessage.g.verified.cs index 126f2c80f9..9ac0013e99 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.SendChatMessage.g.verified.cs @@ -23,7 +23,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/chat/messages", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/chat/messages", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs index f4ce1de636..8ee622613d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateChatSettings.g.verified.cs @@ -32,7 +32,7 @@ public partial class ChatClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs index b27d795ec7..802df94beb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ChatClient.UpdateUserChatColor.g.verified.cs @@ -23,7 +23,7 @@ public partial class ChatClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/chat/color?user_id={userId}&color={color}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/chat/color?user_id={userId}&color={color}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.CreateClip.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.CreateClip.g.verified.cs index e83d94d6cd..679139e286 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.CreateClip.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.CreateClip.g.verified.cs @@ -26,7 +26,7 @@ public partial class ClipsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/clips?broadcaster_id={broadcasterId}&has_delay={hasDelay}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/clips?broadcaster_id={broadcasterId}&has_delay={hasDelay}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.GetClips.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.GetClips.g.verified.cs index 20e903240c..19b4728b90 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.GetClips.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ClipsClient.GetClips.g.verified.cs @@ -40,7 +40,7 @@ public partial class ClipsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/clips?broadcaster_id={broadcasterId}&game_id={gameId}&{string.Join("&", id.Select(static x => $"id={x}"))}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&before={before}&after={after}&is_featured={isFeatured}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/clips?broadcaster_id={broadcasterId}&game_id={gameId}&{string.Join("&", id.Select(static x => $"id={x}"))}&started_at={startedAt:yyyy-MM-ddTHH:mm:ssZ}&ended_at={endedAt:yyyy-MM-ddTHH:mm:ssZ}&first={first}&before={before}&after={after}&is_featured={isFeatured}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.CreateConduits.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.CreateConduits.g.verified.cs index 64cb150e8b..2dfa434f90 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.CreateConduits.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.CreateConduits.g.verified.cs @@ -23,7 +23,7 @@ public partial class ConduitsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs index 43e1e0bbe8..2edb3e86fa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.DeleteConduit.g.verified.cs @@ -21,7 +21,7 @@ public partial class ConduitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/conduits?id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/conduits?id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs index 58702c2dbc..908eb379ac 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduitShards.g.verified.cs @@ -25,7 +25,7 @@ public partial class ConduitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/conduits/shards?conduit_id={conduitId}&status={status}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/conduits/shards?conduit_id={conduitId}&status={status}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduits.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduits.g.verified.cs index d476940828..4050675532 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduits.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.GetConduits.g.verified.cs @@ -19,7 +19,7 @@ public partial class ConduitsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs index 8af687d04c..54fb9465d4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduitShards.g.verified.cs @@ -24,7 +24,7 @@ public partial class ConduitsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits/shards", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits/shards", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs index cee2878b9b..4b0658b09e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ConduitsClient.UpdateConduits.g.verified.cs @@ -23,7 +23,7 @@ public partial class ConduitsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/conduits", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs index 9a7ad793cc..215efd5559 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.GetDropsEntitlements.g.verified.cs @@ -44,7 +44,7 @@ public partial class EntitlementsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/entitlements/drops?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&fulfillment_status={fulfillmentStatus}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/entitlements/drops?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&fulfillment_status={fulfillmentStatus}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs index 4c3fee78cd..f1f5ec6acc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EntitlementsClient.UpdateDropsEntitlements.g.verified.cs @@ -28,7 +28,7 @@ public partial class EntitlementsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/entitlements/drops", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/entitlements/drops", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs index d2adc3172c..c2045a9f56 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.CreateEventsubSubscription.g.verified.cs @@ -25,7 +25,7 @@ public partial class EventSubClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/eventsub/subscriptions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/eventsub/subscriptions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs index 30ceb9462e..7f81bef8c3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.DeleteEventsubSubscription.g.verified.cs @@ -22,7 +22,7 @@ public partial class EventSubClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/subscriptions?id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/subscriptions?id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs index 7a44cc1a50..bea879787c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.EventSubClient.GetEventsubSubscriptions.g.verified.cs @@ -30,7 +30,7 @@ public partial class EventSubClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/eventsub/subscriptions?status={status}&type={type}&user_id={userId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/eventsub/subscriptions?status={status}&type={type}&user_id={userId}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs index ea27770f1f..d57866b960 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.CreateExtensionSecret.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/jwt/secrets?extension_id={extensionId}&delay={delay}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/jwt/secrets?extension_id={extensionId}&delay={delay}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs index 9fcd240dd7..71025b0250 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionBitsProducts.g.verified.cs @@ -21,7 +21,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/bits/extensions?should_include_all={shouldIncludeAll}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/bits/extensions?should_include_all={shouldIncludeAll}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs index b85daf0e3f..e4bffb4549 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionConfigurationSegment.g.verified.cs @@ -26,7 +26,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/configurations?broadcaster_id={broadcasterId}&extension_id={extensionId}&segment={segment}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/configurations?broadcaster_id={broadcasterId}&extension_id={extensionId}&segment={segment}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs index 9fbd6389e5..4c331c94d3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionLiveChannels.g.verified.cs @@ -26,7 +26,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/live?extension_id={extensionId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/live?extension_id={extensionId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs index eccb516e86..c080518a1b 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensionSecrets.g.verified.cs @@ -19,7 +19,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/extensions/jwt/secrets", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/extensions/jwt/secrets", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs index ac794137ca..d0131c14fb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetExtensions.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs index 6142f192ca..02e95a6148 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.GetReleasedExtensions.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/released?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/released?extension_id={extensionId}&extension_version={extensionVersion}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs index 3e8451fd5b..88cc4f28ba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionChatMessage.g.verified.cs @@ -26,7 +26,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/chat?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/chat?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs index 5f0c8542e4..09cf3165e8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SendExtensionPubsubMessage.g.verified.cs @@ -52,7 +52,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/extensions/pubsub", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/extensions/pubsub", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs index 0a05661c86..61d44a5249 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionConfigurationSegment.g.verified.cs @@ -24,7 +24,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/extensions/configurations", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/extensions/configurations", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs index c70ea3a2d9..b6298802e6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.SetExtensionRequiredConfiguration.g.verified.cs @@ -25,7 +25,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/extensions/required_configuration?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/extensions/required_configuration?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs index 4a460fe82e..e115b1e900 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ExtensionsClient.UpdateExtensionBitsProduct.g.verified.cs @@ -23,7 +23,7 @@ public partial class ExtensionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/bits/extensions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/bits/extensions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetGames.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetGames.g.verified.cs index 90a954a887..6e2ac438cb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetGames.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetGames.g.verified.cs @@ -27,7 +27,7 @@ public partial class GamesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/games?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", name.Select(static x => $"name={x}"))}&{string.Join("&", igdbId.Select(static x => $"igdbId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/games?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", name.Select(static x => $"name={x}"))}&{string.Join("&", igdbId.Select(static x => $"igdbId={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetTopGames.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetTopGames.g.verified.cs index fa70e77e02..064b0f8e5d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetTopGames.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GamesClient.GetTopGames.g.verified.cs @@ -25,7 +25,7 @@ public partial class GamesClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/games/top?first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/games/top?first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs index 19515c9e62..a3b64c92d8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GoalsClient.GetCreatorGoals.g.verified.cs @@ -22,7 +22,7 @@ public partial class GoalsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/goals?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/goals?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs index 647a777fac..76ab4c3427 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.AssignGuestStarSlot.g.verified.cs @@ -30,7 +30,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs index 2668a5818a..ba2f3f84ea 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.CreateGuestStarSession.g.verified.cs @@ -22,7 +22,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/session?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/session?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs index ab89366f3d..e74aa121be 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarInvite.g.verified.cs @@ -28,7 +28,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs index 04d73bdf9f..583a3d84b7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.DeleteGuestStarSlot.g.verified.cs @@ -32,7 +32,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}&should_reinvite_guest={shouldReinviteGuest}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}&slot_id={slotId}&should_reinvite_guest={shouldReinviteGuest}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs index cf6d188b16..5868cd1b09 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.EndGuestStarSession.g.verified.cs @@ -24,7 +24,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/session?broadcaster_id={broadcasterId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/session?broadcaster_id={broadcasterId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs index 655c561b90..d488f87199 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetChannelGuestStarSettings.g.verified.cs @@ -24,7 +24,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs index f61e6bad63..5a09c0ba78 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarInvites.g.verified.cs @@ -26,7 +26,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs index 7a8c4a353b..19f6f6a8f7 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.GetGuestStarSession.g.verified.cs @@ -24,7 +24,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/session?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/session?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs index 7edb41bf53..bccf9660d1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.SendGuestStarInvite.g.verified.cs @@ -28,7 +28,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/invites?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&guest_id={guestId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs index 871e3d3a73..3874fb8d75 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateChannelGuestStarSettings.g.verified.cs @@ -26,7 +26,7 @@ public partial class GuestStarClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/channel_settings?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs index d22bfe8fc0..dfa2a0df85 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlot.g.verified.cs @@ -30,7 +30,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&source_slot_id={sourceSlotId}&destination_slot_id={destinationSlotId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&source_slot_id={sourceSlotId}&destination_slot_id={destinationSlotId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs index 1aaabfdb79..54c83c9645 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.GuestStarClient.UpdateGuestStarSlotSettings.g.verified.cs @@ -36,7 +36,7 @@ public partial class GuestStarClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/guest_star/slot_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&slot_id={slotId}&is_audio_enabled={isAudioEnabled}&is_video_enabled={isVideoEnabled}&is_live={isLive}&volume={volume}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/guest_star/slot_settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&session_id={sessionId}&slot_id={slotId}&is_audio_enabled={isAudioEnabled}&is_video_enabled={isVideoEnabled}&is_live={isLive}&volume={volume}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs index 07c459b3e5..b795dfce5c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.HypeTrainClient.GetHypeTrainEvents.g.verified.cs @@ -26,7 +26,7 @@ public partial class HypeTrainClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/hypetrain/events?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/hypetrain/events?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs index b8cc10c33e..7635e61ad0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddBlockedTerm.g.verified.cs @@ -27,7 +27,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs index 4b12fa0432..05c9685eaa 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelModerator.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelVip.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelVip.g.verified.cs index 37a8c5c805..f45101d25f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelVip.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.AddChannelVip.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.BanUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.BanUser.g.verified.cs index fc9d0e5e40..77f87cbda3 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.BanUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.BanUser.g.verified.cs @@ -30,7 +30,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs index 51dab83e00..7f624192e8 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.CheckAutomodStatus.g.verified.cs @@ -33,7 +33,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/enforcements/status?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/enforcements/status?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs index 256cabcc7b..6dfc137b86 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.DeleteChatMessages.g.verified.cs @@ -25,7 +25,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/chat?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&message_id={messageId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/chat?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&message_id={messageId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs index 80505ef394..3d6db25902 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetAutomodSettings.g.verified.cs @@ -23,7 +23,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs index 18dc811f7c..10010b3707 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBannedUsers.g.verified.cs @@ -30,7 +30,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/banned?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/banned?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs index a6ea711298..1a62b7ef33 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetBlockedTerms.g.verified.cs @@ -27,7 +27,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs index c792ee2cb2..2ae0f21255 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModeratedChannels.g.verified.cs @@ -26,7 +26,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/channels?user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/channels?user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModerators.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModerators.g.verified.cs index b9b6126cc6..58e49a8b62 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModerators.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetModerators.g.verified.cs @@ -28,7 +28,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/moderators?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/moderators?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs index fe07573593..f90219b278 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetShieldModeStatus.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs index ed2f608216..4d637358f5 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetUnbanRequests.g.verified.cs @@ -32,7 +32,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&status={status}&user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&status={status}&user_id={userId}&after={after}&first={first}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetVips.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetVips.g.verified.cs index 1490bd5954..50c1ba7d1c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetVips.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.GetVips.g.verified.cs @@ -28,7 +28,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/vips?{string.Join("&", userId.Select(static x => $"userId={x}"))}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/vips?{string.Join("&", userId.Select(static x => $"userId={x}"))}&broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs index d5e5c9dc8a..96297c196c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ManageHeldAutomodMessages.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/moderation/automod/message", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/moderation/automod/message", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs index 5e8fccc06e..0efd309acf 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveBlockedTerm.g.verified.cs @@ -25,7 +25,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/blocked_terms?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs index cc457e8465..fa2f39baba 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelModerator.g.verified.cs @@ -24,7 +24,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/moderators?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs index 56bf8000af..d1d09323c1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.RemoveChannelVip.g.verified.cs @@ -25,7 +25,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/channels/vips?user_id={userId}&broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs index ef68f3cb6c..2ebb6999e4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.ResolveUnbanRequests.g.verified.cs @@ -30,7 +30,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&unban_request_id={unbanRequestId}&status={status}&resolution_text={resolutionText}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/unban_requests?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&unban_request_id={unbanRequestId}&status={status}&resolution_text={resolutionText}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UnbanUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UnbanUser.g.verified.cs index 5eb612b197..70cf6b8635 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UnbanUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UnbanUser.g.verified.cs @@ -26,7 +26,7 @@ public partial class ModerationClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/bans?broadcaster_id={broadcasterId}&moderator_id={moderatorId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs index 9a70622ed6..b040ef0028 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateAutomodSettings.g.verified.cs @@ -34,7 +34,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/automod/settings?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs index b3a4752c0a..10a563e830 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ModerationClient.UpdateShieldModeStatus.g.verified.cs @@ -28,7 +28,7 @@ public partial class ModerationClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/moderation/shield_mode?broadcaster_id={broadcasterId}&moderator_id={moderatorId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.CreatePoll.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.CreatePoll.g.verified.cs index f5388ee504..d7d3b3e3d1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.CreatePoll.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.CreatePoll.g.verified.cs @@ -24,7 +24,7 @@ public partial class PollsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/polls", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/polls", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.EndPoll.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.EndPoll.g.verified.cs index dee58a1667..589d39bc13 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.EndPoll.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.EndPoll.g.verified.cs @@ -23,7 +23,7 @@ public partial class PollsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/polls", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/polls", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.GetPolls.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.GetPolls.g.verified.cs index 34016b0cda..a556373561 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.GetPolls.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PollsClient.GetPolls.g.verified.cs @@ -29,7 +29,7 @@ public partial class PollsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/polls?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/polls?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs index f6ab65a125..93450cda7c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.CreatePrediction.g.verified.cs @@ -24,7 +24,7 @@ public partial class PredictionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.EndPrediction.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.EndPrediction.g.verified.cs index 98fc8e6a73..9fa0cdcbf6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.EndPrediction.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.EndPrediction.g.verified.cs @@ -23,7 +23,7 @@ public partial class PredictionsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/predictions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/predictions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.GetPredictions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.GetPredictions.g.verified.cs index 9f54c5b389..a24363e818 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.GetPredictions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.PredictionsClient.GetPredictions.g.verified.cs @@ -28,7 +28,7 @@ public partial class PredictionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/predictions?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/predictions?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.CancelARaid.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.CancelARaid.g.verified.cs index b28af5c556..97738fb26e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.CancelARaid.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.CancelARaid.g.verified.cs @@ -23,7 +23,7 @@ public partial class RaidsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/raids?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/raids?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.StartARaid.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.StartARaid.g.verified.cs index 377ff475c4..2d3f2f106e 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.StartARaid.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.RaidsClient.StartARaid.g.verified.cs @@ -27,7 +27,7 @@ public partial class RaidsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/raids?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/raids?from_broadcaster_id={fromBroadcasterId}&to_broadcaster_id={toBroadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs index 82e8dd526a..cd130e1523 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.CreateChannelStreamScheduleSegment.g.verified.cs @@ -25,7 +25,7 @@ public partial class ScheduleClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/segment?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/segment?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs index 3aaac77e57..cfe2a00072 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.DeleteChannelStreamScheduleSegment.g.verified.cs @@ -24,7 +24,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs index 0143d87113..6426bd8014 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelIcalendar.g.verified.cs @@ -24,7 +24,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/icalendar?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/icalendar?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs index 2057afe0fd..71de6904b4 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs @@ -32,7 +32,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&start_time={startTime:yyyy-MM-ddTHH:mm:ssZ}&utc_offset={utcOffset}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule?broadcaster_id={broadcasterId}&{string.Join("&", id.Select(static x => $"id={x}"))}&start_time={startTime:yyyy-MM-ddTHH:mm:ssZ}&utc_offset={utcOffset}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs index 79bede1fa3..0c3dcc1936 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs @@ -29,7 +29,7 @@ public partial class ScheduleClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/settings?broadcaster_id={broadcasterId}&is_vacation_enabled={isVacationEnabled}&vacation_start_time={vacationStartTime:yyyy-MM-ddTHH:mm:ssZ}&vacation_end_time={vacationEndTime:yyyy-MM-ddTHH:mm:ssZ}&timezone={timezone}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/settings?broadcaster_id={broadcasterId}&is_vacation_enabled={isVacationEnabled}&vacation_start_time={vacationStartTime:yyyy-MM-ddTHH:mm:ssZ}&vacation_end_time={vacationEndTime:yyyy-MM-ddTHH:mm:ssZ}&timezone={timezone}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs index dc6814fbd8..4bdf76fdce 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.ScheduleClient.UpdateChannelStreamScheduleSegment.g.verified.cs @@ -28,7 +28,7 @@ public partial class ScheduleClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Patch, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/schedule/segment?broadcaster_id={broadcasterId}&id={id}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchCategories.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchCategories.g.verified.cs index 5a4bb5617b..10d946d916 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchCategories.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchCategories.g.verified.cs @@ -26,7 +26,7 @@ public partial class SearchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/search/categories?query={query}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/search/categories?query={query}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchChannels.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchChannels.g.verified.cs index 97597d76eb..576bb616df 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchChannels.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SearchClient.SearchChannels.g.verified.cs @@ -30,7 +30,7 @@ public partial class SearchClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/search/channels?query={query}&live_only={liveOnly}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/search/channels?query={query}&live_only={liveOnly}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs index 3b8d6670b0..adb896c2d0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.CreateStreamMarker.g.verified.cs @@ -28,7 +28,7 @@ public partial class StreamsClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/streams/markers", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/streams/markers", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs index 7f7a68ee50..1bf7b94dd9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetFollowedStreams.g.verified.cs @@ -25,7 +25,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/followed?user_id={userId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/followed?user_id={userId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamKey.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamKey.g.verified.cs index a6ab9d88e9..39bfacdeea 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamKey.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamKey.g.verified.cs @@ -21,7 +21,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/key?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/key?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs index a01d6d8db5..91065d9e06 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreamMarkers.g.verified.cs @@ -29,7 +29,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/markers?user_id={userId}&video_id={videoId}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/markers?user_id={userId}&video_id={videoId}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreams.g.verified.cs index e32bc6eff3..d85ac4b79c 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.StreamsClient.GetStreams.g.verified.cs @@ -36,7 +36,7 @@ public partial class StreamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams?{string.Join("&", userId.Select(static x => $"userId={x}"))}&{string.Join("&", userLogin.Select(static x => $"userLogin={x}"))}&{string.Join("&", gameId.Select(static x => $"gameId={x}"))}&type={type}&{string.Join("&", language.Select(static x => $"language={x}"))}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams?{string.Join("&", userId.Select(static x => $"userId={x}"))}&{string.Join("&", userLogin.Select(static x => $"userLogin={x}"))}&{string.Join("&", gameId.Select(static x => $"gameId={x}"))}&type={type}&{string.Join("&", language.Select(static x => $"language={x}"))}&first={first}&before={before}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs index d5dcb78b0f..9657fd2d7f 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.CheckUserSubscription.g.verified.cs @@ -24,7 +24,7 @@ public partial class SubscriptionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/subscriptions/user?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/subscriptions/user?broadcaster_id={broadcasterId}&user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs index 07cf56b12d..e1e376ae20 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.SubscriptionsClient.GetBroadcasterSubscriptions.g.verified.cs @@ -31,7 +31,7 @@ public partial class SubscriptionsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/subscriptions?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/subscriptions?broadcaster_id={broadcasterId}&{string.Join("&", userId.Select(static x => $"userId={x}"))}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs index 7df48b7c74..4ab15b44db 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetAllStreamTags.g.verified.cs @@ -28,7 +28,7 @@ public partial class TagsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/tags/streams?{string.Join("&", tagId.Select(static x => $"tagId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/tags/streams?{string.Join("&", tagId.Select(static x => $"tagId={x}"))}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetStreamTags.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetStreamTags.g.verified.cs index 42fae82e25..6d3832ad1a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetStreamTags.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TagsClient.GetStreamTags.g.verified.cs @@ -23,7 +23,7 @@ public partial class TagsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/streams/tags?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/streams/tags?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs index cb0e1ffc96..9d6ad36deb 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetChannelTeams.g.verified.cs @@ -21,7 +21,7 @@ public partial class TeamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/teams/channel?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams/channel?broadcaster_id={broadcasterId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetTeams.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetTeams.g.verified.cs index 731aaecaab..b5c81f206a 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetTeams.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.TeamsClient.GetTeams.g.verified.cs @@ -23,7 +23,7 @@ public partial class TeamsClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/teams?name={name}&id={id}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/teams?name={name}&id={id}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.BlockUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.BlockUser.g.verified.cs index 34ecd73c1a..45d0a74fa6 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.BlockUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.BlockUser.g.verified.cs @@ -26,7 +26,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/blocks?target_user_id={targetUserId}&source_context={sourceContext}&reason={reason}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/blocks?target_user_id={targetUserId}&source_context={sourceContext}&reason={reason}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs index 753b72c685..e6f92de07d 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserActiveExtensions.g.verified.cs @@ -22,7 +22,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/extensions?user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/extensions?user_id={userId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserBlockList.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserBlockList.g.verified.cs index 086c6c9a92..e503bcdea0 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserBlockList.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserBlockList.g.verified.cs @@ -25,7 +25,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/blocks?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/blocks?broadcaster_id={broadcasterId}&first={first}&after={after}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserExtensions.g.verified.cs index 63ed5789ee..a5612791fc 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUserExtensions.g.verified.cs @@ -19,7 +19,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/users/extensions/list", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/users/extensions/list", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUsers.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUsers.g.verified.cs index a9aa2c26d9..4bae5aa588 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUsers.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.GetUsers.g.verified.cs @@ -30,7 +30,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", login.Select(static x => $"login={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users?{string.Join("&", id.Select(static x => $"id={x}"))}&{string.Join("&", login.Select(static x => $"login={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UnblockUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UnblockUser.g.verified.cs index 31c49fbf38..47670fd368 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UnblockUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UnblockUser.g.verified.cs @@ -21,7 +21,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users/blocks?target_user_id={targetUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users/blocks?target_user_id={targetUserId}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUser.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUser.g.verified.cs index b17dd6c258..89d2c68b87 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUser.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUser.g.verified.cs @@ -22,7 +22,7 @@ public partial class UsersClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/users?description={description}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/users?description={description}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs index d92df8f97d..18eab7ea44 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.UsersClient.UpdateUserExtensions.g.verified.cs @@ -24,7 +24,7 @@ public partial class UsersClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + "/users/extensions", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/users/extensions", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.DeleteVideos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.DeleteVideos.g.verified.cs index 9baa90f4cd..5d7a864d21 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.DeleteVideos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.DeleteVideos.g.verified.cs @@ -22,7 +22,7 @@ public partial class VideosClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.GetVideos.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.GetVideos.g.verified.cs index 57639bca17..9613e99da9 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.GetVideos.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.VideosClient.GetVideos.g.verified.cs @@ -41,7 +41,7 @@ public partial class VideosClient { using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&language={language}&period={period}&sort={sort}&type={type}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/videos?{string.Join("&", id.Select(static x => $"id={x}"))}&user_id={userId}&game_id={gameId}&language={language}&period={period}&sort={sort}&type={type}&first={first}&after={after}&before={before}", global::System.UriKind.RelativeOrAbsolute)); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.SendWhisper.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.SendWhisper.g.verified.cs index be04c28b33..52b9e507c1 100644 --- a/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.SendWhisper.g.verified.cs +++ b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Twitch/SystemTextJson/_#G.WhispersClient.SendWhisper.g.verified.cs @@ -30,7 +30,7 @@ public partial class WhispersClient using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(_httpClient.BaseAddress?.GetLeftPart(global::System.UriPartial.Authority) + $"/whispers?from_user_id={fromUserId}&to_user_id={toUserId}", global::System.UriKind.RelativeOrAbsolute)); + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/whispers?from_user_id={fromUserId}&to_user_id={toUserId}", global::System.UriKind.RelativeOrAbsolute)); var __json = global::System.Text.Json.JsonSerializer.Serialize(request, _jsonSerializerOptions); httpRequest.Content = new global::System.Net.Http.StringContent( content: __json, diff --git a/src/tests/OpenApiGenerator.UnitTests/Tests.SmartNamedAnyOfNames.cs b/src/tests/OpenApiGenerator.UnitTests/Tests.SmartNamedAnyOfNames.cs index 16dd000378..b96336f382 100644 --- a/src/tests/OpenApiGenerator.UnitTests/Tests.SmartNamedAnyOfNames.cs +++ b/src/tests/OpenApiGenerator.UnitTests/Tests.SmartNamedAnyOfNames.cs @@ -21,11 +21,32 @@ public void DateTimeParameterSerialization_Valid() } [TestMethod] - public void Url_Concat() + public void UrlWithPort_Concat() { var baseUri = new Uri("https://localhost:7293"); - new Uri(baseUri.GetLeftPart(UriPartial.Authority) + "/api/Stats", UriKind.RelativeOrAbsolute) + new Uri(baseUri.AbsoluteUri.TrimEnd('/') + "/api/Stats", UriKind.RelativeOrAbsolute) .Should().Be(new Uri("https://localhost:7293/api/Stats")); } + + [TestMethod] + public void UrlWithVersion_Concat() + { + var baseUri = new Uri("https://api.openai.com/v1"); + + new Uri(baseUri.AbsoluteUri.TrimEnd('/') + "/chat/completions", UriKind.RelativeOrAbsolute) + .Should().Be(new Uri("https://api.openai.com/v1/chat/completions")); + } + // + // [TestMethod] + // public void MultipartFormDataContent() + // { + // using var __multiPartContent = new global::System.Net.Http.MultipartFormDataContent(); + // __multiPartContent.Add(content: new global::System.Net.Http.StringContent("value1"), name: "key1"); + // + // // Add file content + // var fileContent = new global::System.Net.Http.ByteArrayContent(System.IO.File.ReadAllBytes("path/to/file")); + // fileContent.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("multipart/form-data"); + // __multiPartContent.Add(content: fileContent, name: "file", fileName: "filename.ext"); + // } } \ No newline at end of file