-
-
Notifications
You must be signed in to change notification settings - Fork 0
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:Rename methods, add enumerations, and update OpenAPI for voice operations #41
Conversation
WalkthroughThe changes involve the renaming of methods and the introduction of new enumerations related to voice operations in the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant DeepInfraApi
participant VoiceService
Client->>DeepInfraApi: Call DeployListDeployListGet2Async()
DeepInfraApi->>VoiceService: PrepareDeployListDeployListGet2Arguments()
VoiceService-->>DeepInfraApi: Arguments Prepared
DeepInfraApi->>VoiceService: PrepareDeployListDeployListGet2Request()
VoiceService-->>DeepInfraApi: Request Prepared
DeepInfraApi->>VoiceService: ProcessDeployListDeployListGet2Response()
VoiceService-->>DeepInfraApi: Response Processed
DeepInfraApi->>Client: Return Deployment List
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet2.g.cs (5 hunks)
- src/libs/DeepInfra/Generated/DeepInfra.Models.ModelDocBlockKey.g.cs (3 hunks)
- src/libs/DeepInfra/Generated/DeepInfra.Models.SchemaVariantKey.g.cs (3 hunks)
- src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs (1 hunks)
- src/libs/DeepInfra/openapi.yaml (2 hunks)
Additional comments not posted (14)
src/libs/DeepInfra/Generated/DeepInfra.Models.TimeInterval.g.cs (1)
18-21
: LGTM!The change to explicitly specify the long type for the
To
property enhances type clarity and compatibility.The code changes are approved.
src/libs/DeepInfra/Generated/DeepInfra.Models.SchemaVariantKey.g.cs (3)
27-46
: LGTM!The addition of new enumerations related to voice operations enhances the functionality of the
SchemaVariantKey
enum.The code changes are approved.
65-69
: LGTM!The update to the
ToValueString
extension method ensures that the new enum values can be correctly converted to their respective string representations.The code changes are approved.
84-88
: LGTM!The update to the reverse mapping functionality in the
ToValueString
method ensures that string inputs corresponding to the new enum values can be correctly parsed back into their respectiveSchemaVariantKey
enum types.The code changes are approved.
src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployListDeployListGet2.g.cs (5)
8-8
: LGTM!The renaming of the
PrepareDeployListDeployListGetArguments
method toPrepareDeployListDeployListGet2Arguments
suggests a potential versioning or functionality update within the API.The code changes are approved.
11-11
: LGTM!The renaming of the
PrepareDeployListDeployListGetRequest
method toPrepareDeployListDeployListGet2Request
suggests a potential versioning or functionality update within the API.The code changes are approved.
15-15
: LGTM!The renaming of the
ProcessDeployListDeployListGetResponse
method toProcessDeployListDeployListGet2Response
suggests a potential versioning or functionality update within the API.The code changes are approved.
19-19
: LGTM!The renaming of the
ProcessDeployListDeployListGetResponseContent
method toProcessDeployListDeployListGet2ResponseContent
suggests a potential versioning or functionality update within the API.The code changes are approved.
32-32
: LGTM!The renaming of the
DeployListDeployListGetAsync
method toDeployListDeployListGet2Async
suggests a potential versioning or functionality update within the API.The code changes are approved.
src/libs/DeepInfra/Generated/DeepInfra.Models.ModelDocBlockKey.g.cs (3)
71-130
: LGTM!The new entries for various voice-related operations are consistent with the existing enum values and follow the same naming convention.
The code changes are approved.
160-174
: LGTM!The
ToValueString
method correctly maps the new enum values to their corresponding string representations.The code changes are approved.
200-214
: LGTM!The
ToEnum
method correctly maps the new string representations to their corresponding enum values.The code changes are approved.
src/libs/DeepInfra/openapi.yaml (2)
3159-3173
: LGTM!The new entries for voice operations in the
ModelDocBlockKey
enumeration are consistent with the existing values and follow the same naming convention.The code changes are approved.
4022-4026
: LGTM!The new entries for general voice operations in the
SchemaVariantKey
enumeration are consistent with the existing values and follow the same naming convention.The code changes are approved.
Summary by CodeRabbit
New Features
Improvements
TimeInterval
class for better compatibility.Documentation