Skip to content

Commit

Permalink
Merge pull request #38 from tryAGI/bot/update-openapi_202408270119
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 27, 2024
2 parents 3502759 + 0474716 commit aa6440e
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 9 deletions.
18 changes: 16 additions & 2 deletions src/libs/LangSmith/Generated/LangSmith.Models.FilterView.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,22 @@ public sealed partial class FilterView
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("filter_string")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string FilterString { get; set; }
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? FilterString { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("trace_filter_string")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? TraceFilterString { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tree_filter_string")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? TreeFilterString { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,22 @@ public sealed partial class FilterViewCreate
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("filter_string")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string FilterString { get; set; }
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? FilterString { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("trace_filter_string")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? TraceFilterString { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tree_filter_string")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? TreeFilterString { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ public sealed partial class FilterViewUpdate
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? Description { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("trace_filter_string")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? TraceFilterString { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tree_filter_string")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.AnyOfJsonConverterFactory2))]
public global::System.AnyOf<string?, object>? TreeFilterString { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,26 @@ partial void ProcessCreateFilterViewApiV1SessionsSessionIdViewsPostResponseConte
/// </summary>
/// <param name="sessionId"></param>
/// <param name="filterString"></param>
/// <param name="traceFilterString"></param>
/// <param name="treeFilterString"></param>
/// <param name="displayName"></param>
/// <param name="description"></param>
/// <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::LangSmith.FilterView> CreateFilterViewApiV1SessionsSessionIdViewsPostAsync(
string sessionId,
string filterString,
string displayName,
global::System.AnyOf<string?, object>? filterString = default,
global::System.AnyOf<string?, object>? traceFilterString = default,
global::System.AnyOf<string?, object>? treeFilterString = default,
global::System.AnyOf<string?, object>? description = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::LangSmith.FilterViewCreate
{
FilterString = filterString,
TraceFilterString = traceFilterString,
TreeFilterString = treeFilterString,
DisplayName = displayName,
Description = description,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ partial void ProcessUpdateFilterViewApiV1SessionsSessionIdViewsViewIdPatchRespon
/// <param name="filterString"></param>
/// <param name="displayName"></param>
/// <param name="description"></param>
/// <param name="traceFilterString"></param>
/// <param name="treeFilterString"></param>
/// <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::LangSmith.FilterView> UpdateFilterViewApiV1SessionsSessionIdViewsViewIdPatchAsync(
Expand All @@ -124,13 +126,17 @@ partial void ProcessUpdateFilterViewApiV1SessionsSessionIdViewsViewIdPatchRespon
global::System.AnyOf<string?, object>? filterString = default,
global::System.AnyOf<string?, object>? displayName = default,
global::System.AnyOf<string?, object>? description = default,
global::System.AnyOf<string?, object>? traceFilterString = default,
global::System.AnyOf<string?, object>? treeFilterString = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::LangSmith.FilterViewUpdate
{
FilterString = filterString,
DisplayName = displayName,
Description = description,
TraceFilterString = traceFilterString,
TreeFilterString = treeFilterString,
};

return await UpdateFilterViewApiV1SessionsSessionIdViewsViewIdPatchAsync(
Expand Down
40 changes: 36 additions & 4 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12280,7 +12280,6 @@ components:
FilterView:
title: FilterView
required:
- filter_string
- display_name
- id
- created_at
Expand All @@ -12289,7 +12288,19 @@ components:
properties:
filter_string:
title: Filter String
type: string
anyOf:
- type: string
- type: 'null'
trace_filter_string:
title: Trace Filter String
anyOf:
- type: string
- type: 'null'
tree_filter_string:
title: Tree Filter String
anyOf:
- type: string
- type: 'null'
display_name:
title: Display Name
type: string
Expand Down Expand Up @@ -12319,13 +12330,24 @@ components:
FilterViewCreate:
title: FilterViewCreate
required:
- filter_string
- display_name
type: object
properties:
filter_string:
title: Filter String
type: string
anyOf:
- type: string
- type: 'null'
trace_filter_string:
title: Trace Filter String
anyOf:
- type: string
- type: 'null'
tree_filter_string:
title: Tree Filter String
anyOf:
- type: string
- type: 'null'
display_name:
title: Display Name
type: string
Expand Down Expand Up @@ -12353,6 +12375,16 @@ components:
anyOf:
- type: string
- type: 'null'
trace_filter_string:
title: Trace Filter String
anyOf:
- type: string
- type: 'null'
tree_filter_string:
title: Tree Filter String
anyOf:
- type: string
- type: 'null'
ForkRepoRequest:
title: ForkRepoRequest
required:
Expand Down

0 comments on commit aa6440e

Please sign in to comment.