Skip to content

Commit

Permalink
fix: Removed BaseUrl from interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Sep 15, 2024
1 parent 7d814da commit ee9ab73
Show file tree
Hide file tree
Showing 467 changed files with 0 additions and 2,333 deletions.
3 changes: 0 additions & 3 deletions src/libs/AutoSDK/Sources/Sources.Clients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ namespace {endPoint.Namespace}
{(endPoint.Summary + "\nIf no httpClient is provided, a new one will be created.\nIf no baseUri is provided, the default baseUri from OpenAPI spec will be used.").ToXmlDocumentationSummary()}
public partial interface I{endPoint.ClassName} : global::System.IDisposable
{{
{endPoint.BaseUrlSummary.ToXmlDocumentationSummary(level: 8)}
public const string BaseUrl = ""{endPoint.BaseUrl}"";
{string.Empty.ToXmlDocumentationSummary(level: 8)}
{(hasOptions ? $@"
{serializer.GetOptionsType()} JsonSerializerOptions {{ get; set; }}" : $@"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface IApi : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IChatClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ICompletionClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ICustomModelsClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IDatasetsClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IGrammaticalErrorCorrectionsClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IJambaCompleteClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ILibraryManagementClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IParaphraseClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IRAGEngineClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ISegmentationClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ISummarizeClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ITokenizeClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface IApi : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IChatClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ICompletionClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ICustomModelsClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IDatasetsClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IGrammaticalErrorCorrectionsClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IJambaCompleteClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ILibraryManagementClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IParaphraseClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface IRAGEngineClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ISegmentationClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ISummarizeClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ namespace G
/// </summary>
public partial interface ITokenizeClient : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.ai21.com/";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface IApi : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.anthropic.com/v1";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface IApi : global::System.IDisposable
{
/// <summary>
///
/// </summary>
public const string BaseUrl = "https://api.anthropic.com/v1";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface IApi : global::System.IDisposable
{
/// <summary>
/// AssemblyAI API
/// </summary>
public const string BaseUrl = "https://api.assemblyai.com";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface ILeMURClient : global::System.IDisposable
{
/// <summary>
/// AssemblyAI API
/// </summary>
public const string BaseUrl = "https://api.assemblyai.com";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface IStreamingClient : global::System.IDisposable
{
/// <summary>
/// AssemblyAI API
/// </summary>
public const string BaseUrl = "https://api.assemblyai.com";

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ namespace G
/// </summary>
public partial interface ITranscriptClient : global::System.IDisposable
{
/// <summary>
/// AssemblyAI API
/// </summary>
public const string BaseUrl = "https://api.assemblyai.com";

/// <summary>
///
/// </summary>
Expand Down
Loading

0 comments on commit ee9ab73

Please sign in to comment.