Skip to content

Commit

Permalink
Merge pull request #39 from tryAGI/bot/update-openapi_202408281823
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 28, 2024
2 parents aa6440e + 9d10184 commit a560943
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public enum ResourceType
/// <summary>
///
/// </summary>
ChartsSection,
Dashboard,
}

/// <summary>
Expand All @@ -56,7 +56,7 @@ public static string ToValueString(this ResourceType value)
ResourceType.Deployment => "deployment",
ResourceType.Experiment => "experiment",
ResourceType.Dataset => "dataset",
ResourceType.ChartsSection => "charts_section",
ResourceType.Dashboard => "dashboard",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -73,7 +73,7 @@ public static string ToValueString(this ResourceType value)
"deployment" => ResourceType.Deployment,
"experiment" => ResourceType.Experiment,
"dataset" => ResourceType.Dataset,
"charts_section" => ResourceType.ChartsSection,
"dashboard" => ResourceType.Dashboard,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public sealed partial class TaggingsByResourceType
/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("charts_sections")]
public global::System.Collections.Generic.IList<global::LangSmith.Resource>? ChartsSections { get; set; }
[global::System.Text.Json.Serialization.JsonPropertyName("dashboards")]
public global::System.Collections.Generic.IList<global::LangSmith.Resource>? Dashboards { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
6 changes: 3 additions & 3 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14220,7 +14220,7 @@ components:
- deployment
- experiment
- dataset
- charts_section
- dashboard
type: string
ResponseBodyForRunsGenerateQuery:
title: ResponseBodyForRunsGenerateQuery
Expand Down Expand Up @@ -16987,8 +16987,8 @@ components:
type: array
items:
$ref: '#/components/schemas/Resource'
charts_sections:
title: Charts Sections
dashboards:
title: Dashboards
type: array
items:
$ref: '#/components/schemas/Resource'
Expand Down

0 comments on commit a560943

Please sign in to comment.