Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:@coderabbitai #21

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

#nullable enable

namespace Tripo
{
public partial interface ITripoApi
{
/// <summary>
/// Authorize using bearer authentication.
/// </summary>
/// <param name="apiKey"></param>
public void AuthorizeUsingBearer(
string apiKey);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ namespace Tripo
{
public sealed partial class TripoApi
{
/// <summary>
/// Authorize using bearer authentication.
/// </summary>
/// <param name="apiKey"></param>
/// <inheritdoc/>
public void AuthorizeUsingBearer(
string apiKey)
{
Expand Down
4 changes: 4 additions & 0 deletions src/libs/Tripo/Generated/Tripo.TripoApi.CreateTask.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ partial void ProcessCreateTaskResponseContent(
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif

foreach (var __authorization in Authorizations)
{
Expand Down
4 changes: 4 additions & 0 deletions src/libs/Tripo/Generated/Tripo.TripoApi.GetBalance.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ partial void ProcessGetBalanceResponseContent(
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif

foreach (var __authorization in Authorizations)
{
Expand Down
4 changes: 4 additions & 0 deletions src/libs/Tripo/Generated/Tripo.TripoApi.GetTask.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ partial void ProcessGetTaskResponseContent(
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif

foreach (var __authorization in Authorizations)
{
Expand Down
4 changes: 4 additions & 0 deletions src/libs/Tripo/Generated/Tripo.TripoApi.UploadFile.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ partial void ProcessUploadFileResponseContent(
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
#endif

foreach (var __authorization in Authorizations)
{
Expand Down
Loading