Skip to content
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:Update OpenAPI Specification for Ultravox Service with New Features #5

Merged
merged 1 commit into from
Nov 22, 2024
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
13 changes: 13 additions & 0 deletions src/libs/Ultravox/Generated/Ultravox.Models.Call.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ public sealed partial class Call
[global::System.Text.Json.Serialization.JsonPropertyName("callId")]
public global::System.Guid CallId { get; set; } = default!;

/// <summary>
/// The version of the client that joined this call.<br/>
/// Included only in responses
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("clientVersion")]
public string? ClientVersion { get; set; }

/// <summary>
/// Included only in responses
/// </summary>
Expand Down Expand Up @@ -151,6 +158,10 @@ public sealed partial class Call
/// <param name="callId">
/// Included only in responses
/// </param>
/// <param name="clientVersion">
/// The version of the client that joined this call.<br/>
/// Included only in responses
/// </param>
/// <param name="created">
/// Included only in responses
/// </param>
Expand Down Expand Up @@ -207,6 +218,7 @@ public sealed partial class Call
/// </param>
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public Call(
string? clientVersion,
global::System.DateTime? ended,
global::Ultravox.OneOf<global::Ultravox.EndReasonEnum?, global::Ultravox.NullEnum?>? endReason,
global::System.Collections.Generic.IList<global::Ultravox.UltravoxV1TimedMessage>? inactivityMessages,
Expand All @@ -228,6 +240,7 @@ public Call(
global::Ultravox.InitialOutputMediumEnum initialOutputMedium = default!)
{
this.CallId = callId;
this.ClientVersion = clientVersion;
this.Created = created;
this.Ended = ended;
this.EndReason = endReason;
Expand Down
6 changes: 6 additions & 0 deletions src/libs/Ultravox/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ components:
Call:
required:
- callId
- clientVersion
- created
- endReason
- ended
Expand All @@ -991,6 +992,11 @@ components:
type: string
format: uuid
readOnly: true
clientVersion:
type: string
description: The version of the client that joined this call.
nullable: true
readOnly: true
created:
type: string
format: date-time
Expand Down