Skip to content
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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace OpenRouter
{
/// <summary>
/// External Users endpoints<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -49,7 +48,7 @@ public sealed partial class ExternalUsersClient : global::OpenRouter.IExternalUs
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider?.Value ?? global::OpenRouter.ExternalUsersSourceGenerationContext.Default;
get => JsonSerializerContextProvider?.Value ?? global::OpenRouter.SourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace OpenRouter
{
/// <summary>
/// External Users endpoints<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public partial interface IOpenRouterClient : global::System.IDisposable
public EndpointsClient Endpoints { get; }

/// <summary>
/// External Users endpoints.
///
/// </summary>
public ExternalUsersClient ExternalUsers { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ public partial interface IPrivateProvidersClient
/// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.<br/>
/// Example: https://inference.example.com/v1
/// </param>
/// <param name="dataPolicy">
/// Defaults to training on and retaining prompts, the most conservative declaration. Your own declaration; it applies to your own traffic and OpenRouter does not verify it.<br/>
/// Example: {"prompt_retention_days":null,"retains_prompts":false,"training":false}
/// </param>
/// <param name="displayName">
/// Defaults to `name`.<br/>
/// Example: Acme
Expand All @@ -60,7 +56,6 @@ public partial interface IPrivateProvidersClient
global::System.Threading.Tasks.Task<global::OpenRouter.CreatePrivateProviderResponse> CreateAsync(
string name,
string? baseUrl = default,
global::OpenRouter.PrivateProviderDataPolicy2? dataPolicy = default,
string? displayName = default,
string? slug = default,
global::OpenRouter.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IPrivateProvidersClient
{
/// <summary>
/// Update a private provider<br/>
/// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// Update a private provider’s display name or base URL. The name and slug cannot change, and the data policy is fixed by OpenRouter, so a body with no editable field is rejected (400). [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="slug">
/// Example: acme
Expand All @@ -23,7 +23,7 @@ public partial interface IPrivateProvidersClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Update a private provider<br/>
/// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// Update a private provider’s display name or base URL. The name and slug cannot change, and the data policy is fixed by OpenRouter, so a body with no editable field is rejected (400). [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="slug">
/// Example: acme
Expand All @@ -40,7 +40,7 @@ public partial interface IPrivateProvidersClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Update a private provider<br/>
/// Update a private provider’s details or declared data policy. The name and slug cannot change. Refuses (409) a data-policy change while OpenRouter pins the declared policy on one of its endpoints. [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// Update a private provider’s display name or base URL. The name and slug cannot change, and the data policy is fixed by OpenRouter, so a body with no editable field is rejected (400). [Management key](/docs/guides/overview/auth/management-api-keys) required.
/// </summary>
/// <param name="slug">
/// Example: acme
Expand All @@ -49,7 +49,6 @@ public partial interface IPrivateProvidersClient
/// HTTPS base URL of an OpenAI-compatible API, used by private endpoints under this provider that set no URL of their own. Without it, each endpoint must set its own. Private, internal, metadata and OpenRouter hosts are rejected.<br/>
/// Example: https://inference.example.com/v1
/// </param>
/// <param name="dataPolicy"></param>
/// <param name="displayName">
/// Example: Acme
/// </param>
Expand All @@ -59,7 +58,6 @@ public partial interface IPrivateProvidersClient
global::System.Threading.Tasks.Task<global::OpenRouter.UpdatePrivateProviderResponse> UpdateAsync(
string slug,
string? baseUrl = default,
global::OpenRouter.UpdatePrivateProviderRequestDataPolicy? dataPolicy = default,
string? displayName = default,
global::OpenRouter.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Loading
Loading