diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs
index df3dff0..a925b36 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.AddMembers.g.cs
@@ -9,7 +9,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -17,7 +16,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task AddMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +25,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -35,7 +32,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task> AddMembersAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -45,7 +41,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -53,7 +48,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task AddMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::System.Collections.Generic.IList userUuids,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs
index 7ff5524..7604a5e 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Create.g.cs
@@ -8,14 +8,12 @@ public partial interface IUserGroupClient
/// Create a managed UserGroup
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CreateAsync(
string projectId,
- string authorization,
global::Zep.ApidataCreateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -24,14 +22,12 @@ public partial interface IUserGroupClient
/// Create a managed UserGroup
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> CreateAsResponseAsync(
string projectId,
- string authorization,
global::Zep.ApidataCreateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -40,7 +36,6 @@ public partial interface IUserGroupClient
/// Create a managed UserGroup
///
///
- ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -48,7 +43,6 @@ public partial interface IUserGroupClient
///
global::System.Threading.Tasks.Task CreateAsync(
string projectId,
- string authorization,
string name,
string? description = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs
index 175dd20..8a4027a 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Delete.g.cs
@@ -9,14 +9,12 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task DeleteAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -24,14 +22,12 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> DeleteAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs
index 53ddd25..f1b2c09 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Get.g.cs
@@ -9,14 +9,12 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task GetAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -24,14 +22,12 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> GetAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs
index 69ba520..29a65dc 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.List.g.cs
@@ -11,7 +11,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -19,7 +18,6 @@ public partial interface IUserGroupClient
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -30,7 +28,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -38,7 +35,6 @@ public partial interface IUserGroupClient
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs
index 1308106..3139e24 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListForUser.g.cs
@@ -9,14 +9,12 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ListForUserAsync(
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -24,14 +22,12 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task> ListForUserAsResponseAsync(
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs
index f06f19b..1ec7f76 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMemberCandidates.g.cs
@@ -12,7 +12,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -21,7 +20,6 @@ public partial interface IUserGroupClient
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -33,7 +31,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -42,7 +39,6 @@ public partial interface IUserGroupClient
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs
index bf18602..4bf082f 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.ListMembers.g.cs
@@ -12,7 +12,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -21,7 +20,6 @@ public partial interface IUserGroupClient
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
@@ -33,7 +31,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -42,7 +39,6 @@ public partial interface IUserGroupClient
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs
index 2e240af..3cf042c 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMember.g.cs
@@ -10,7 +10,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -18,7 +17,6 @@ public partial interface IUserGroupClient
string groupUUID,
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
@@ -27,7 +25,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -35,7 +32,6 @@ public partial interface IUserGroupClient
string groupUUID,
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs
index 65a5843..b3bc0a5 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.RemoveMembers.g.cs
@@ -9,7 +9,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -17,7 +16,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task RemoveMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +25,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -35,7 +32,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task> RemoveMembersAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -45,7 +41,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -53,7 +48,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task RemoveMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::System.Collections.Generic.IList userUuids,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
diff --git a/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs b/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs
index 07be33a..e882a37 100644
--- a/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs
+++ b/src/libs/Zep/Generated/Zep.IUserGroupClient.Update.g.cs
@@ -9,7 +9,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -17,7 +16,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task UpdateAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataUpdateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -27,7 +25,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -35,7 +32,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task> UpdateAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataUpdateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -45,7 +41,6 @@ public partial interface IUserGroupClient
///
///
///
- ///
///
///
///
@@ -55,7 +50,6 @@ public partial interface IUserGroupClient
global::System.Threading.Tasks.Task UpdateAsync(
string groupUUID,
string projectId,
- string authorization,
int expectedVersion,
string? description = default,
string? name = default,
diff --git a/src/libs/Zep/Generated/Zep.IZepClient.Authorizations.Authorization.g.cs b/src/libs/Zep/Generated/Zep.IZepClient.Authorizations.Authorization.g.cs
new file mode 100644
index 0000000..8899fe9
--- /dev/null
+++ b/src/libs/Zep/Generated/Zep.IZepClient.Authorizations.Authorization.g.cs
@@ -0,0 +1,15 @@
+
+#nullable enable
+
+namespace Zep
+{
+ public partial interface IZepClient
+ {
+ ///
+ ///
+ ///
+
+ public void AuthorizeUsingAuthorization(
+ );
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs
index d6b07ad..9314018 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.AddMembers.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -29,14 +29,12 @@ partial void PrepareAddMembersArguments(
global::System.Net.Http.HttpClient httpClient,
ref string groupUUID,
ref string projectId,
- ref string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request);
partial void PrepareAddMembersRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request);
partial void ProcessAddMembersResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +50,6 @@ partial void ProcessAddMembersResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -60,7 +57,6 @@ partial void ProcessAddMembersResponseContent(
public async global::System.Threading.Tasks.Task AddMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -69,7 +65,6 @@ partial void ProcessAddMembersResponseContent(
var __response = await AddMembersAsResponseAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
request: request,
requestOptions: requestOptions,
@@ -83,7 +78,6 @@ partial void ProcessAddMembersResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -91,7 +85,6 @@ partial void ProcessAddMembersResponseContent(
public async global::System.Threading.Tasks.Task> AddMembersAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -105,7 +98,6 @@ partial void ProcessAddMembersResponseContent(
httpClient: HttpClient,
groupUUID: ref groupUUID,
projectId: ref projectId,
- authorization: ref authorization,
request: request);
@@ -149,26 +141,6 @@ partial void ProcessAddMembersResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
content: __httpRequestContentBody,
@@ -188,9 +160,10 @@ partial void ProcessAddMembersResponseContent(
httpRequestMessage: __httpRequest,
groupUUID: groupUUID!,
projectId: projectId!,
- authorization: authorization!,
request: request);
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
+
return __httpRequest;
}
@@ -617,7 +590,6 @@ partial void ProcessAddMembersResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -625,7 +597,6 @@ partial void ProcessAddMembersResponseContent(
public async global::System.Threading.Tasks.Task AddMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::System.Collections.Generic.IList userUuids,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -638,7 +609,6 @@ partial void ProcessAddMembersResponseContent(
return await AddMembersAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
request: __request,
requestOptions: requestOptions,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs
index e88eebc..1594913 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Create.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -28,13 +28,11 @@ public partial class UserGroupClient
partial void PrepareCreateArguments(
global::System.Net.Http.HttpClient httpClient,
ref string projectId,
- ref string authorization,
global::Zep.ApidataCreateUserGroupRequest request);
partial void PrepareCreateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string projectId,
- string authorization,
global::Zep.ApidataCreateUserGroupRequest request);
partial void ProcessCreateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -49,14 +47,12 @@ partial void ProcessCreateResponseContent(
/// Create a managed UserGroup
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CreateAsync(
string projectId,
- string authorization,
global::Zep.ApidataCreateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -64,7 +60,6 @@ partial void ProcessCreateResponseContent(
{
var __response = await CreateAsResponseAsync(
projectId: projectId,
- authorization: authorization,
request: request,
requestOptions: requestOptions,
@@ -77,14 +72,12 @@ partial void ProcessCreateResponseContent(
/// Create a managed UserGroup
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> CreateAsResponseAsync(
string projectId,
- string authorization,
global::Zep.ApidataCreateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -97,7 +90,6 @@ partial void ProcessCreateResponseContent(
PrepareCreateArguments(
httpClient: HttpClient,
projectId: ref projectId,
- authorization: ref authorization,
request: request);
@@ -141,26 +133,6 @@ partial void ProcessCreateResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
content: __httpRequestContentBody,
@@ -179,9 +151,10 @@ partial void ProcessCreateResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
projectId: projectId!,
- authorization: authorization!,
request: request);
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
+
return __httpRequest;
}
@@ -570,7 +543,6 @@ partial void ProcessCreateResponseContent(
/// Create a managed UserGroup
///
///
- ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -578,7 +550,6 @@ partial void ProcessCreateResponseContent(
///
public async global::System.Threading.Tasks.Task CreateAsync(
string projectId,
- string authorization,
string name,
string? description = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -592,7 +563,6 @@ partial void ProcessCreateResponseContent(
return await CreateAsync(
projectId: projectId,
- authorization: authorization,
request: __request,
requestOptions: requestOptions,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs
index c278187..3bc0589 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Delete.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -28,14 +28,12 @@ public partial class UserGroupClient
partial void PrepareDeleteArguments(
global::System.Net.Http.HttpClient httpClient,
ref string groupUUID,
- ref string projectId,
- ref string authorization);
+ ref string projectId);
partial void PrepareDeleteRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string groupUUID,
- string projectId,
- string authorization);
+ string projectId);
partial void ProcessDeleteResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -50,21 +48,18 @@ partial void ProcessDeleteResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task DeleteAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await DeleteAsResponseAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -76,14 +71,12 @@ partial void ProcessDeleteResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> DeleteAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -92,8 +85,7 @@ partial void ProcessDeleteResponseContent(
PrepareDeleteArguments(
httpClient: HttpClient,
groupUUID: ref groupUUID,
- projectId: ref projectId,
- authorization: ref authorization);
+ projectId: ref projectId);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -136,26 +128,6 @@ partial void ProcessDeleteResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -168,8 +140,9 @@ partial void ProcessDeleteResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
groupUUID: groupUUID!,
- projectId: projectId!,
- authorization: authorization!);
+ projectId: projectId!);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs
index e8c2e3f..891b51a 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Get.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -28,14 +28,12 @@ public partial class UserGroupClient
partial void PrepareGetArguments(
global::System.Net.Http.HttpClient httpClient,
ref string groupUUID,
- ref string projectId,
- ref string authorization);
+ ref string projectId);
partial void PrepareGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string groupUUID,
- string projectId,
- string authorization);
+ string projectId);
partial void ProcessGetResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -50,21 +48,18 @@ partial void ProcessGetResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await GetAsResponseAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -76,14 +71,12 @@ partial void ProcessGetResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> GetAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -92,8 +85,7 @@ partial void ProcessGetResponseContent(
PrepareGetArguments(
httpClient: HttpClient,
groupUUID: ref groupUUID,
- projectId: ref projectId,
- authorization: ref authorization);
+ projectId: ref projectId);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -136,26 +128,6 @@ partial void ProcessGetResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -168,8 +140,9 @@ partial void ProcessGetResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
groupUUID: groupUUID!,
- projectId: projectId!,
- authorization: authorization!);
+ projectId: projectId!);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs
index f007393..4f90e9d 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.List.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -30,16 +30,14 @@ partial void PrepareListArguments(
ref string projectId,
ref int pageNumber,
ref int pageSize,
- ref string? search,
- ref string authorization);
+ ref string? search);
partial void PrepareListRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string projectId,
int pageNumber,
int pageSize,
- string? search,
- string authorization);
+ string? search);
partial void ProcessListResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -56,7 +54,6 @@ partial void ProcessListResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -64,7 +61,6 @@ partial void ProcessListResponseContent(
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -73,7 +69,6 @@ partial void ProcessListResponseContent(
projectId: projectId,
pageNumber: pageNumber,
pageSize: pageSize,
- authorization: authorization,
search: search,
requestOptions: requestOptions,
cancellationToken: cancellationToken
@@ -88,7 +83,6 @@ partial void ProcessListResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -96,7 +90,6 @@ partial void ProcessListResponseContent(
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -108,8 +101,7 @@ partial void ProcessListResponseContent(
projectId: ref projectId,
pageNumber: ref pageNumber,
pageSize: ref pageSize,
- search: ref search,
- authorization: ref authorization);
+ search: ref search);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -155,26 +147,6 @@ partial void ProcessListResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -189,8 +161,9 @@ partial void ProcessListResponseContent(
projectId: projectId!,
pageNumber: pageNumber!,
pageSize: pageSize!,
- search: search,
- authorization: authorization!);
+ search: search);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs
index e2fc0b9..5d1d1cf 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.ListForUser.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -28,14 +28,12 @@ public partial class UserGroupClient
partial void PrepareListForUserArguments(
global::System.Net.Http.HttpClient httpClient,
ref string userUUID,
- ref string projectId,
- ref string authorization);
+ ref string projectId);
partial void PrepareListForUserRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string userUUID,
- string projectId,
- string authorization);
+ string projectId);
partial void ProcessListForUserResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -50,21 +48,18 @@ partial void ProcessListForUserResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListForUserAsync(
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await ListForUserAsResponseAsync(
userUUID: userUUID,
projectId: projectId,
- authorization: authorization,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -76,14 +71,12 @@ partial void ProcessListForUserResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> ListForUserAsResponseAsync(
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -92,8 +85,7 @@ partial void ProcessListForUserResponseContent(
PrepareListForUserArguments(
httpClient: HttpClient,
userUUID: ref userUUID,
- projectId: ref projectId,
- authorization: ref authorization);
+ projectId: ref projectId);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -136,26 +128,6 @@ partial void ProcessListForUserResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -168,8 +140,9 @@ partial void ProcessListForUserResponseContent(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
userUUID: userUUID!,
- projectId: projectId!,
- authorization: authorization!);
+ projectId: projectId!);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs
index bc62931..0788463 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMemberCandidates.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -31,8 +31,7 @@ partial void PrepareListMemberCandidatesArguments(
ref string projectId,
ref int pageNumber,
ref int pageSize,
- ref string? search,
- ref string authorization);
+ ref string? search);
partial void PrepareListMemberCandidatesRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
@@ -40,8 +39,7 @@ partial void PrepareListMemberCandidatesRequest(
string projectId,
int pageNumber,
int pageSize,
- string? search,
- string authorization);
+ string? search);
partial void ProcessListMemberCandidatesResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -59,7 +57,6 @@ partial void ProcessListMemberCandidatesResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -68,7 +65,6 @@ partial void ProcessListMemberCandidatesResponseContent(
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -78,7 +74,6 @@ partial void ProcessListMemberCandidatesResponseContent(
projectId: projectId,
pageNumber: pageNumber,
pageSize: pageSize,
- authorization: authorization,
search: search,
requestOptions: requestOptions,
cancellationToken: cancellationToken
@@ -94,7 +89,6 @@ partial void ProcessListMemberCandidatesResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -103,7 +97,6 @@ partial void ProcessListMemberCandidatesResponseContent(
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -116,8 +109,7 @@ partial void ProcessListMemberCandidatesResponseContent(
projectId: ref projectId,
pageNumber: ref pageNumber,
pageSize: ref pageSize,
- search: ref search,
- authorization: ref authorization);
+ search: ref search);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -163,26 +155,6 @@ partial void ProcessListMemberCandidatesResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -198,8 +170,9 @@ partial void ProcessListMemberCandidatesResponseContent(
projectId: projectId!,
pageNumber: pageNumber!,
pageSize: pageSize!,
- search: search,
- authorization: authorization!);
+ search: search);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs
index 91c5609..0d2d9aa 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.ListMembers.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -31,8 +31,7 @@ partial void PrepareListMembersArguments(
ref string projectId,
ref int pageNumber,
ref int pageSize,
- ref string? search,
- ref string authorization);
+ ref string? search);
partial void PrepareListMembersRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
@@ -40,8 +39,7 @@ partial void PrepareListMembersRequest(
string projectId,
int pageNumber,
int pageSize,
- string? search,
- string authorization);
+ string? search);
partial void ProcessListMembersResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -59,7 +57,6 @@ partial void ProcessListMembersResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -68,7 +65,6 @@ partial void ProcessListMembersResponseContent(
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -78,7 +74,6 @@ partial void ProcessListMembersResponseContent(
projectId: projectId,
pageNumber: pageNumber,
pageSize: pageSize,
- authorization: authorization,
search: search,
requestOptions: requestOptions,
cancellationToken: cancellationToken
@@ -94,7 +89,6 @@ partial void ProcessListMembersResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -103,7 +97,6 @@ partial void ProcessListMembersResponseContent(
string projectId,
int pageNumber,
int pageSize,
- string authorization,
string? search = default,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -116,8 +109,7 @@ partial void ProcessListMembersResponseContent(
projectId: ref projectId,
pageNumber: ref pageNumber,
pageSize: ref pageSize,
- search: ref search,
- authorization: ref authorization);
+ search: ref search);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -163,26 +155,6 @@ partial void ProcessListMembersResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -198,8 +170,9 @@ partial void ProcessListMembersResponseContent(
projectId: projectId!,
pageNumber: pageNumber!,
pageSize: pageSize!,
- search: search,
- authorization: authorization!);
+ search: search);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs
index b5b506e..b18a537 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMember.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -29,15 +29,13 @@ partial void PrepareRemoveMemberArguments(
global::System.Net.Http.HttpClient httpClient,
ref string groupUUID,
ref string userUUID,
- ref string projectId,
- ref string authorization);
+ ref string projectId);
partial void PrepareRemoveMemberRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string groupUUID,
string userUUID,
- string projectId,
- string authorization);
+ string projectId);
partial void ProcessRemoveMemberResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
@@ -53,7 +51,6 @@ partial void ProcessRemoveMemberResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -61,7 +58,6 @@ partial void ProcessRemoveMemberResponseContent(
string groupUUID,
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -69,7 +65,6 @@ partial void ProcessRemoveMemberResponseContent(
groupUUID: groupUUID,
userUUID: userUUID,
projectId: projectId,
- authorization: authorization,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -82,7 +77,6 @@ partial void ProcessRemoveMemberResponseContent(
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -90,7 +84,6 @@ partial void ProcessRemoveMemberResponseContent(
string groupUUID,
string userUUID,
string projectId,
- string authorization,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -100,8 +93,7 @@ partial void ProcessRemoveMemberResponseContent(
httpClient: HttpClient,
groupUUID: ref groupUUID,
userUUID: ref userUUID,
- projectId: ref projectId,
- authorization: ref authorization);
+ projectId: ref projectId);
var __authorizations = global::Zep.EndPointSecurityResolver.ResolveAuthorizations(
@@ -144,26 +136,6 @@ partial void ProcessRemoveMemberResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
global::Zep.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -177,8 +149,9 @@ partial void ProcessRemoveMemberResponseContent(
httpRequestMessage: __httpRequest,
groupUUID: groupUUID!,
userUUID: userUUID!,
- projectId: projectId!,
- authorization: authorization!);
+ projectId: projectId!);
+
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
return __httpRequest;
}
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs
index 49de279..b48802c 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.RemoveMembers.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -29,14 +29,12 @@ partial void PrepareRemoveMembersArguments(
global::System.Net.Http.HttpClient httpClient,
ref string groupUUID,
ref string projectId,
- ref string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request);
partial void PrepareRemoveMembersRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request);
partial void ProcessRemoveMembersResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +50,6 @@ partial void ProcessRemoveMembersResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -60,7 +57,6 @@ partial void ProcessRemoveMembersResponseContent(
public async global::System.Threading.Tasks.Task RemoveMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -69,7 +65,6 @@ partial void ProcessRemoveMembersResponseContent(
var __response = await RemoveMembersAsResponseAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
request: request,
requestOptions: requestOptions,
@@ -83,7 +78,6 @@ partial void ProcessRemoveMembersResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -91,7 +85,6 @@ partial void ProcessRemoveMembersResponseContent(
public async global::System.Threading.Tasks.Task> RemoveMembersAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataMutateUserGroupMembersRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -105,7 +98,6 @@ partial void ProcessRemoveMembersResponseContent(
httpClient: HttpClient,
groupUUID: ref groupUUID,
projectId: ref projectId,
- authorization: ref authorization,
request: request);
@@ -149,26 +141,6 @@ partial void ProcessRemoveMembersResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
content: __httpRequestContentBody,
@@ -188,9 +160,10 @@ partial void ProcessRemoveMembersResponseContent(
httpRequestMessage: __httpRequest,
groupUUID: groupUUID!,
projectId: projectId!,
- authorization: authorization!,
request: request);
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
+
return __httpRequest;
}
@@ -617,7 +590,6 @@ partial void ProcessRemoveMembersResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -625,7 +597,6 @@ partial void ProcessRemoveMembersResponseContent(
public async global::System.Threading.Tasks.Task RemoveMembersAsync(
string groupUUID,
string projectId,
- string authorization,
global::System.Collections.Generic.IList userUuids,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
@@ -638,7 +609,6 @@ partial void ProcessRemoveMembersResponseContent(
return await RemoveMembersAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
request: __request,
requestOptions: requestOptions,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs b/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs
index 8ce1dbe..ba527e4 100644
--- a/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs
+++ b/src/libs/Zep/Generated/Zep.UserGroupClient.Update.g.cs
@@ -13,11 +13,11 @@ public partial class UserGroupClient
Authorizations = new global::Zep.EndPointAuthorizationRequirement[]
{ new global::Zep.EndPointAuthorizationRequirement
{
- Type = "Http",
- SchemeId = "BearerAuth",
- Location = "Header",
- Name = "Bearer",
- FriendlyName = "Bearer",
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ FriendlyName = "Authorization",
},
},
};
@@ -29,14 +29,12 @@ partial void PrepareUpdateArguments(
global::System.Net.Http.HttpClient httpClient,
ref string groupUUID,
ref string projectId,
- ref string authorization,
global::Zep.ApidataUpdateUserGroupRequest request);
partial void PrepareUpdateRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataUpdateUserGroupRequest request);
partial void ProcessUpdateResponse(
global::System.Net.Http.HttpClient httpClient,
@@ -52,7 +50,6 @@ partial void ProcessUpdateResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -60,7 +57,6 @@ partial void ProcessUpdateResponseContent(
public async global::System.Threading.Tasks.Task UpdateAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataUpdateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -69,7 +65,6 @@ partial void ProcessUpdateResponseContent(
var __response = await UpdateAsResponseAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
request: request,
requestOptions: requestOptions,
@@ -83,7 +78,6 @@ partial void ProcessUpdateResponseContent(
///
///
///
- ///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -91,7 +85,6 @@ partial void ProcessUpdateResponseContent(
public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync(
string groupUUID,
string projectId,
- string authorization,
global::Zep.ApidataUpdateUserGroupRequest request,
global::Zep.AutoSDKRequestOptions? requestOptions = default,
@@ -105,7 +98,6 @@ partial void ProcessUpdateResponseContent(
httpClient: HttpClient,
groupUUID: ref groupUUID,
projectId: ref projectId,
- authorization: ref authorization,
request: request);
@@ -149,26 +141,6 @@ partial void ProcessUpdateResponseContent(
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif
-
- foreach (var __authorization in __authorizations)
- {
- if (__authorization.Type == "Http" ||
- __authorization.Type == "OAuth2" ||
- __authorization.Type == "OpenIdConnect")
- {
- __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
- scheme: __authorization.Name,
- parameter: __authorization.Value);
- }
- else if (__authorization.Type == "ApiKey" &&
- __authorization.Location == "Header")
- {
- __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
- }
-
- __httpRequest.Headers.TryAddWithoutValidation("Authorization", authorization.ToString());
-
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
content: __httpRequestContentBody,
@@ -188,9 +160,10 @@ partial void ProcessUpdateResponseContent(
httpRequestMessage: __httpRequest,
groupUUID: groupUUID!,
projectId: projectId!,
- authorization: authorization!,
request: request);
+ global::Zep.AutoSDKHttpRequestOptions.StampAuthorizationOverride(__httpRequest);
+
return __httpRequest;
}
@@ -617,7 +590,6 @@ partial void ProcessUpdateResponseContent(
///
///
///
- ///
///
///
///
@@ -627,7 +599,6 @@ partial void ProcessUpdateResponseContent(
public async global::System.Threading.Tasks.Task UpdateAsync(
string groupUUID,
string projectId,
- string authorization,
int expectedVersion,
string? description = default,
string? name = default,
@@ -644,7 +615,6 @@ partial void ProcessUpdateResponseContent(
return await UpdateAsync(
groupUUID: groupUUID,
projectId: projectId,
- authorization: authorization,
request: __request,
requestOptions: requestOptions,
cancellationToken: cancellationToken).ConfigureAwait(false);
diff --git a/src/libs/Zep/Generated/Zep.ZepClient.Authorizations.Authorization.g.cs b/src/libs/Zep/Generated/Zep.ZepClient.Authorizations.Authorization.g.cs
new file mode 100644
index 0000000..098cfeb
--- /dev/null
+++ b/src/libs/Zep/Generated/Zep.ZepClient.Authorizations.Authorization.g.cs
@@ -0,0 +1,33 @@
+
+#nullable enable
+
+namespace Zep
+{
+ public sealed partial class ZepClient
+ {
+
+ ///
+ public void AuthorizeUsingAuthorization(
+ )
+ {
+
+ for (var i = Authorizations.Count - 1; i >= 0; i--)
+ {
+ var __authorization = Authorizations[i];
+ if (__authorization.Type == "")
+ {
+ Authorizations.RemoveAt(i);
+ }
+ }
+
+ Authorizations.Add(new global::Zep.EndPointAuthorization
+ {
+ Type = "",
+ SchemeId = "ApiKey",
+ Location = "",
+ Name = "",
+ Value = "",
+ });
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Zep/openapi.json b/src/libs/Zep/openapi.json
index 6895d35..cf1e038 100644
--- a/src/libs/Zep/openapi.json
+++ b/src/libs/Zep/openapi.json
@@ -1315,15 +1315,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1357,7 +1348,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
},
"post": {
"operationId": "userGroup_create",
@@ -1374,15 +1370,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1436,7 +1423,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/user-groups/users/{userUUID}": {
@@ -1464,15 +1456,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1506,7 +1489,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/user-groups/{groupUUID}": {
@@ -1534,15 +1522,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1576,7 +1555,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
},
"patch": {
"operationId": "userGroup_update",
@@ -1602,15 +1586,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1674,7 +1649,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
},
"delete": {
"operationId": "userGroup_delete",
@@ -1700,15 +1680,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1723,7 +1694,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/user-groups/{groupUUID}/members": {
@@ -1778,15 +1754,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1820,7 +1787,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
},
"post": {
"operationId": "userGroup_add_members",
@@ -1846,15 +1818,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -1918,7 +1881,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/user-groups/{groupUUID}/members/bulk-remove": {
@@ -1946,15 +1914,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -2018,7 +1977,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/user-groups/{groupUUID}/members/candidates": {
@@ -2073,15 +2037,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -2125,7 +2080,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/user-groups/{groupUUID}/members/{userUUID}": {
@@ -2162,15 +2122,6 @@
"schema": {
"type": "string"
}
- },
- {
- "name": "Authorization",
- "in": "header",
- "description": "Type \"Api-Key\" followed by a space and JWT token.",
- "required": true,
- "schema": {
- "type": "string"
- }
}
],
"responses": {
@@ -2214,7 +2165,12 @@
}
}
}
- }
+ },
+ "security": [
+ {
+ "Api-Key": []
+ }
+ ]
}
},
"/abac/user-groups/{groupUUID}/policy-sets": {
@@ -6572,6 +6528,62 @@
}
}
},
+ "tags": [
+ {
+ "name": "thread"
+ },
+ {
+ "name": "user"
+ },
+ {
+ "name": "userGroup"
+ },
+ {
+ "name": "context"
+ },
+ {
+ "name": "graph"
+ },
+ {
+ "name": "data"
+ },
+ {
+ "name": "entity"
+ },
+ {
+ "name": "search"
+ },
+ {
+ "name": "episodes"
+ },
+ {
+ "name": "graph > episode"
+ },
+ {
+ "name": "graph > node"
+ },
+ {
+ "name": "observation"
+ },
+ {
+ "name": "thread-summary"
+ },
+ {
+ "name": "document"
+ },
+ {
+ "name": "document-summary"
+ },
+ {
+ "name": "project"
+ },
+ {
+ "name": "task"
+ },
+ {
+ "name": "batch"
+ }
+ ],
"servers": [
{
"url": "https://api.getzep.com/api/v2",