From d2e0bafe04f5467041649736b150038a66e086af Mon Sep 17 00:00:00 2001 From: HavenDV Date: Mon, 1 Jul 2024 01:51:27 +0400 Subject: [PATCH] fix: Fixed DateTime query parameter serialization. --- src/libs/Directory.Build.props | 2 +- .../Serialization/ParameterSerializer.cs | 4 ++-- ..._#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs | 2 +- .../_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs | 2 +- .../_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs | 2 +- ....DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs | 2 +- ...scriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs | 2 +- .../_#G.MemoClient.MemoDeleteMemo.g.verified.cs | 2 +- .../_#G.MemoClient.MemoUpdateMemo.g.verified.cs | 2 +- .../_#G.ResourceClient.ResourceDeleteResource.g.verified.cs | 2 +- .../_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs | 2 +- ....ResourceClient.ResourceUpdateTranscriptData.g.verified.cs | 2 +- .../_#G.TrainingClient.TrainingDeleteTest.g.verified.cs | 2 +- ..._#G.AdminClient.AdminSetAccountCPUPMOverride.g.verified.cs | 2 +- .../_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs | 2 +- .../_#G.DataSetClient.DataSetUpdateDataSet.g.verified.cs | 2 +- ....DescriptorClient.DescriptorDeleteDescriptor.g.verified.cs | 2 +- ...scriptorClient.DescriptorUpdateDescriptorSet.g.verified.cs | 2 +- .../_#G.MemoClient.MemoDeleteMemo.g.verified.cs | 2 +- .../_#G.MemoClient.MemoUpdateMemo.g.verified.cs | 2 +- .../_#G.ResourceClient.ResourceDeleteResource.g.verified.cs | 2 +- .../_#G.ResourceClient.ResourceDeleteTranscript.g.verified.cs | 2 +- ....ResourceClient.ResourceUpdateTranscriptData.g.verified.cs | 2 +- .../_#G.TrainingClient.TrainingDeleteTest.g.verified.cs | 2 +- .../_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs | 2 +- .../_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs | 2 +- .../_#G.BitsClient.GetBitsLeaderboard.g.verified.cs | 2 +- .../NewtonsoftJson/_#G.ClipsClient.GetClips.g.verified.cs | 2 +- .../_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs | 2 +- ...G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs | 2 +- .../_#G.AnalyticsClient.GetExtensionAnalytics.g.verified.cs | 2 +- .../_#G.AnalyticsClient.GetGameAnalytics.g.verified.cs | 2 +- .../_#G.BitsClient.GetBitsLeaderboard.g.verified.cs | 2 +- .../SystemTextJson/_#G.ClipsClient.GetClips.g.verified.cs | 2 +- .../_#G.ScheduleClient.GetChannelStreamSchedule.g.verified.cs | 2 +- ...G.ScheduleClient.UpdateChannelStreamSchedule.g.verified.cs | 2 +- 36 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/libs/Directory.Build.props b/src/libs/Directory.Build.props index 3861d60439..c86406aa07 100644 --- a/src/libs/Directory.Build.props +++ b/src/libs/Directory.Build.props @@ -39,7 +39,7 @@ - 0.11.8 + 0.11.9 0.1 v dev diff --git a/src/libs/OpenApiGenerator.Core/Serialization/ParameterSerializer.cs b/src/libs/OpenApiGenerator.Core/Serialization/ParameterSerializer.cs index e3df2934eb..6b00427e05 100644 --- a/src/libs/OpenApiGenerator.Core/Serialization/ParameterSerializer.cs +++ b/src/libs/OpenApiGenerator.Core/Serialization/ParameterSerializer.cs @@ -82,11 +82,11 @@ public static string SerializeQueryParameter(PropertyData parameter) if (parameter.Type.IsDate) { - return $"{parameter.Id}={{{parameter.ArgumentName}:yyyy-MM-dd)}}"; + return $"{parameter.Id}={{{parameter.ArgumentName}:yyyy-MM-dd}}"; } if (parameter.Type.IsDateTime) { - return $"{parameter.Id}={{{parameter.ArgumentName}:yyyy-MM-ddTHH:mm:ssZ)}}"; + return $"{parameter.Id}={{{parameter.ArgumentName}:yyyy-MM-ddTHH:mm:ssZ}}"; } return $"{parameter.Id}={{{parameter.ArgumentName}}}"; 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 2447cdad42..0ffa98d5f7 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?.GetLeftPart(global::System.UriPartial.Authority) + $"/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.DataSetClient.DataSetDeleteDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/NewtonsoftJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs index 0f539ed393..c315f92c5f 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?.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)); 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 86723a6a34..54280cd8f5 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?.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)); 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 5004e99ace..f5489a94d5 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?.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)); 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 6c9568d81d..b13cbe1bac 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?.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)); 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 239f256f87..8af833645b 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?.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)); 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 8662c6a8dd..822ee3fe80 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?.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)); 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 53bb468139..e3d9c8efa0 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?.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)); 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 a2f5460beb..ad8d1ff6d5 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?.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)); 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 50d910e87d..e6c552beb7 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?.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)); 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 0c3fffa04c..4a85630810 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?.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)); 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 cd93f7a1f5..58e54a3f39 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?.GetLeftPart(global::System.UriPartial.Authority) + $"/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.DataSetClient.DataSetDeleteDataSet.g.verified.cs b/src/tests/OpenApiGenerator.SnapshotTests/Snapshots/Dedoose/SystemTextJson/_#G.DataSetClient.DataSetDeleteDataSet.g.verified.cs index 0dd6bc16aa..e885c82340 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?.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)); 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 3058fda602..7ba4dfe7b5 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?.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)); 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 7106fa0d13..ac30e5bf9b 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?.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)); 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 9215f3fb47..2c64369fa3 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?.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)); 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 6b1dea9556..3979cd4e77 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?.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)); 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 0dd97bcafc..2e9f096fe6 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?.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)); 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 e0e0b02fb9..3e19fc90c0 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?.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)); 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 0ebb73f8e3..c987fe37c7 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?.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)); 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 7fe8003d08..7cc64fb98a 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?.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)); 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 5e9abc3646..cd7c041cb8 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?.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)); using var response = await _httpClient.SendAsync( request: httpRequest, 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 4e6dc342c3..eebf686755 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?.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)); 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 10150c83ab..f3d7066204 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?.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)); 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 92b3a18686..fe048f010a 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?.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)); 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 ab72230021..bbc7f3479b 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?.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)); 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 65f038e6dd..a0893f590c 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?.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)); 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 e3ad3633cd..79bede1fa3 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?.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)); using var response = await _httpClient.SendAsync( request: httpRequest, 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 8e771da4b1..2cd2ea18d3 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?.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)); 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 2adbedaf5d..4b1cbf1197 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?.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)); 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 df0bcb384b..8d005a77d0 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?.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)); 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 ff227a5095..20e903240c 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?.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)); 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 a4a05e1063..2057afe0fd 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?.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)); 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 e3ad3633cd..79bede1fa3 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?.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)); using var response = await _httpClient.SendAsync( request: httpRequest,