Skip to content

Commit

Permalink
Merge pull request #23 from tryAGI/bot/update-openapi_202410110324
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 11, 2024
2 parents 103aa1d + bf172a6 commit 36f0a0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public partial interface IJinaApi
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Jina.HealthModel> GetTheHealthOfUniversalAPIServiceAsync(
global::System.Threading.Tasks.Task<object> GetTheHealthOfUniversalAPIServiceAsync(
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ partial void ProcessGetTheHealthOfUniversalAPIServiceResponseContent(
/// </summary>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Jina.HealthModel> GetTheHealthOfUniversalAPIServiceAsync(
public async global::System.Threading.Tasks.Task<object> GetTheHealthOfUniversalAPIServiceAsync(
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
Expand Down Expand Up @@ -98,7 +98,7 @@ partial void ProcessGetTheHealthOfUniversalAPIServiceResponseContent(
}

return
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Jina.HealthModel), JsonSerializerContext) as global::Jina.HealthModel ??
global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(object), JsonSerializerContext) as object ??
throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Jina/Generated/JsonSerializerContextTypes.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::Jina.HealthModel? Type45 { get; set; }
public object? Type45 { get; set; }
/// <summary>
///
/// </summary>
Expand Down

0 comments on commit 36f0a0c

Please sign in to comment.