Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 6, 2025
1 parent 8e640f9 commit 3b32eb2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ public enum ModelDocBlockKey
///
/// </summary>
ListVoicesJs,
/// <summary>
///
/// </summary>
AiSdkJs,
}

/// <summary>
Expand Down Expand Up @@ -187,6 +191,7 @@ public static string ToValueString(this ModelDocBlockKey value)
ModelDocBlockKey.ListVoicesHttp => "list-voices-http",
ModelDocBlockKey.ListVoicesPython => "list-voices-python",
ModelDocBlockKey.ListVoicesJs => "list-voices-js",
ModelDocBlockKey.AiSdkJs => "ai-sdk-js",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand Down Expand Up @@ -230,6 +235,7 @@ public static string ToValueString(this ModelDocBlockKey value)
"list-voices-http" => ModelDocBlockKey.ListVoicesHttp,
"list-voices-python" => ModelDocBlockKey.ListVoicesPython,
"list-voices-js" => ModelDocBlockKey.ListVoicesJs,
"ai-sdk-js" => ModelDocBlockKey.AiSdkJs,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public enum SchemaVariantKey
///
/// </summary>
ListVoices,
/// <summary>
///
/// </summary>
AiSdk,
}

/// <summary>
Expand All @@ -72,6 +76,7 @@ public static string ToValueString(this SchemaVariantKey value)
SchemaVariantKey.UpdateVoice => "update-voice",
SchemaVariantKey.DeleteVoice => "delete-voice",
SchemaVariantKey.ListVoices => "list-voices",
SchemaVariantKey.AiSdk => "ai-sdk",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -92,6 +97,7 @@ public static string ToValueString(this SchemaVariantKey value)
"update-voice" => SchemaVariantKey.UpdateVoice,
"delete-voice" => SchemaVariantKey.DeleteVoice,
"list-voices" => SchemaVariantKey.ListVoices,
"ai-sdk" => SchemaVariantKey.AiSdk,
_ => null,
};
}
Expand Down
2 changes: 2 additions & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4241,6 +4241,7 @@ components:
- list-voices-http
- list-voices-python
- list-voices-js
- ai-sdk-js
type: string
description: An enumeration.
ModelFieldInfo:
Expand Down Expand Up @@ -5249,6 +5250,7 @@ components:
- update-voice
- delete-voice
- list-voices
- ai-sdk
type: string
description: An enumeration.
SourceModel:
Expand Down

0 comments on commit 3b32eb2

Please sign in to comment.