From 9e1f3b2d3203ba8029c3fc13ca33d87f3c95b2a8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 22 May 2026 14:55:21 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ls.GetToolRegistryResponseToolRegistry.g.cs | 18 ++++++++++++++++++ ...istToolRegistriesResponseToolRegistrie.g.cs | 8 ++++---- src/libs/PromptLayer/openapi.json | 14 ++++++++++++-- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.GetToolRegistryResponseToolRegistry.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.GetToolRegistryResponseToolRegistry.g.cs index c4fb1a4..f007cde 100644 --- a/src/libs/PromptLayer/Generated/PromptLayer.Models.GetToolRegistryResponseToolRegistry.g.cs +++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.GetToolRegistryResponseToolRegistry.g.cs @@ -32,6 +32,18 @@ public sealed partial class GetToolRegistryResponseToolRegistry [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] public int? WorkspaceId { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + public global::System.DateTime? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + public global::System.DateTime? UpdatedAt { get; set; } + /// /// /// @@ -63,6 +75,8 @@ public sealed partial class GetToolRegistryResponseToolRegistry /// /// /// + /// + /// /// /// /// Resolved version object — includes `tool_definition` and (if set) `execution: { type, language, code }`. @@ -76,6 +90,8 @@ public GetToolRegistryResponseToolRegistry( string? name, string? description, int? workspaceId, + global::System.DateTime? createdAt, + global::System.DateTime? updatedAt, global::System.Collections.Generic.IList? labels, object? version, object? toolDefinition) @@ -84,6 +100,8 @@ public GetToolRegistryResponseToolRegistry( this.Name = name; this.Description = description; this.WorkspaceId = workspaceId; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; this.Labels = labels; this.Version = version; this.ToolDefinition = toolDefinition; diff --git a/src/libs/PromptLayer/Generated/PromptLayer.Models.ListToolRegistriesResponseToolRegistrie.g.cs b/src/libs/PromptLayer/Generated/PromptLayer.Models.ListToolRegistriesResponseToolRegistrie.g.cs index a7445ca..0ba0428 100644 --- a/src/libs/PromptLayer/Generated/PromptLayer.Models.ListToolRegistriesResponseToolRegistrie.g.cs +++ b/src/libs/PromptLayer/Generated/PromptLayer.Models.ListToolRegistriesResponseToolRegistrie.g.cs @@ -42,13 +42,13 @@ public sealed partial class ListToolRegistriesResponseToolRegistrie /// /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public string? CreatedAt { get; set; } + public global::System.DateTime? CreatedAt { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public string? UpdatedAt { get; set; } + public global::System.DateTime? UpdatedAt { get; set; } /// /// External ID mappings attached to this tool. @@ -84,8 +84,8 @@ public ListToolRegistriesResponseToolRegistrie( string? description, int? workspaceId, int? folderId, - string? createdAt, - string? updatedAt, + global::System.DateTime? createdAt, + global::System.DateTime? updatedAt, global::System.Collections.Generic.IList? externalIds) { this.Id = id; diff --git a/src/libs/PromptLayer/openapi.json b/src/libs/PromptLayer/openapi.json index 5e0fd74..7a82125 100644 --- a/src/libs/PromptLayer/openapi.json +++ b/src/libs/PromptLayer/openapi.json @@ -7271,10 +7271,12 @@ "nullable": true }, "created_at": { - "type": "string" + "type": "string", + "format": "date-time" }, "updated_at": { - "type": "string" + "type": "string", + "format": "date-time" }, "external_ids": { "type": "array", @@ -7592,6 +7594,14 @@ "workspace_id": { "type": "integer" }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, "labels": { "type": "array", "items": {