Skip to content

Commit

Permalink
Merge pull request #2 from tryAGI/bot/update-openapi_202408062114
Browse files Browse the repository at this point in the history
feat:Updated OpenAPI spec
  • Loading branch information
github-actions[bot] authored Aug 6, 2024
2 parents 30ef36e + 9fe1154 commit 714c88d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent(
request: request);

using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: new global::System.Net.Http.HttpMethod("PATCH"),
method: global::System.Net.Http.HttpMethod.Patch,
requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/v1/me", global::System.UriKind.RelativeOrAbsolute));
var __httpRequestContent = new global::System.Net.Http.StringContent(
content: global::System.Text.Json.JsonSerializer.Serialize(request, global::DeepInfra.SourceGenerationContext.Default.MeIn),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed partial class DeployModelIn
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("provider")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory1))]
public global::System.AllOf<global::DeepInfra.ModelProvider?>? Provider { get; set; } = ModelProvider.Cnt;
public global::System.AllOf<global::DeepInfra.ModelProvider?>? Provider { get; set; } = "cnt";

/// <summary>
/// model name in specified provider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed partial class DeploymentOut
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory1))]
public global::System.AllOf<global::DeepInfra.DeployType?>? Type { get; set; } = DeployType.Legacy;
public global::System.AllOf<global::DeepInfra.DeployType?>? Type { get; set; } = "legacy";

/// <summary>
/// Deploy Id<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public sealed partial class OpenAITextToSpeechIn
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("voice")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory1))]
public global::System.AllOf<global::DeepInfra.TtsVoice?>? Voice { get; set; } = TtsVoice.Luna;
public global::System.AllOf<global::DeepInfra.TtsVoice?>? Voice { get; set; } = "luna";

/// <summary>
/// response format for the speech<br/>
/// Default Value: wav
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AllOfJsonConverterFactory1))]
public global::System.AllOf<global::DeepInfra.TtsResponseFormat?>? ResponseFormat { get; set; } = TtsResponseFormat.Wav;
public global::System.AllOf<global::DeepInfra.TtsResponseFormat?>? ResponseFormat { get; set; } = "wav";

/// <summary>
/// speed of the speech<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed partial class TimeInterval
/// Default Value: 4000000000000
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("to")]
public long To { get; set; } = 4000000000000;
public int To { get; set; } = "4000000000000";

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down

0 comments on commit 714c88d

Please sign in to comment.