From bdf41327fd1da6a92d2ded08f3d064d4facd5e35 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Sep 2026 12:37:05 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Pruna.CLI/Commands/CreatePredictionCommandApiCommand.g.cs | 4 ++-- src/cli/Pruna.CLI/Commands/GetFileCommandApiCommand.g.cs | 4 ++-- .../Commands/GetPredictionDeliveryCommandApiCommand.g.cs | 4 ++-- .../Commands/GetPredictionStatusCommandApiCommand.g.cs | 4 ++-- src/cli/Pruna.CLI/Commands/UploadFileCommandApiCommand.g.cs | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/cli/Pruna.CLI/Commands/CreatePredictionCommandApiCommand.g.cs b/src/cli/Pruna.CLI/Commands/CreatePredictionCommandApiCommand.g.cs index 7808479..4e8047a 100644 --- a/src/cli/Pruna.CLI/Commands/CreatePredictionCommandApiCommand.g.cs +++ b/src/cli/Pruna.CLI/Commands/CreatePredictionCommandApiCommand.g.cs @@ -47,9 +47,9 @@ private static string FormatResponse(ParseResult parseResult, global::Pruna.Pred static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"create-prediction", @"Create a prediction for a Pruna model."); + var command = new Command(commandName ?? @"create-prediction", @"Create a prediction for a Pruna model."); command.Options.Add(Model); command.Options.Add(TrySync); command.Options.Add(InputOption); diff --git a/src/cli/Pruna.CLI/Commands/GetFileCommandApiCommand.g.cs b/src/cli/Pruna.CLI/Commands/GetFileCommandApiCommand.g.cs index 67734ac..2e107f0 100644 --- a/src/cli/Pruna.CLI/Commands/GetFileCommandApiCommand.g.cs +++ b/src/cli/Pruna.CLI/Commands/GetFileCommandApiCommand.g.cs @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Pruna.File static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"get-file", @"Get uploaded file metadata."); + var command = new Command(commandName ?? @"get-file", @"Get uploaded file metadata."); command.Arguments.Add(Id); diff --git a/src/cli/Pruna.CLI/Commands/GetPredictionDeliveryCommandApiCommand.g.cs b/src/cli/Pruna.CLI/Commands/GetPredictionDeliveryCommandApiCommand.g.cs index 0c9d866..e1a9b37 100644 --- a/src/cli/Pruna.CLI/Commands/GetPredictionDeliveryCommandApiCommand.g.cs +++ b/src/cli/Pruna.CLI/Commands/GetPredictionDeliveryCommandApiCommand.g.cs @@ -15,9 +15,9 @@ internal static partial class GetPredictionDeliveryCommandApiCommand static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"get-prediction-delivery", @"Download or retrieve a generated prediction artifact."); + var command = new Command(commandName ?? @"get-prediction-delivery", @"Download or retrieve a generated prediction artifact."); command.Arguments.Add(DeliveryPath); diff --git a/src/cli/Pruna.CLI/Commands/GetPredictionStatusCommandApiCommand.g.cs b/src/cli/Pruna.CLI/Commands/GetPredictionStatusCommandApiCommand.g.cs index a3d3613..097f2b9 100644 --- a/src/cli/Pruna.CLI/Commands/GetPredictionStatusCommandApiCommand.g.cs +++ b/src/cli/Pruna.CLI/Commands/GetPredictionStatusCommandApiCommand.g.cs @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Pruna.Pred static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"get-prediction-status", @"Get prediction status and result metadata."); + var command = new Command(commandName ?? @"get-prediction-status", @"Get prediction status and result metadata."); command.Arguments.Add(Id); diff --git a/src/cli/Pruna.CLI/Commands/UploadFileCommandApiCommand.g.cs b/src/cli/Pruna.CLI/Commands/UploadFileCommandApiCommand.g.cs index 30f5ee1..332268a 100644 --- a/src/cli/Pruna.CLI/Commands/UploadFileCommandApiCommand.g.cs +++ b/src/cli/Pruna.CLI/Commands/UploadFileCommandApiCommand.g.cs @@ -43,9 +43,9 @@ private static string FormatResponse(ParseResult parseResult, global::Pruna.File static partial void CustomizeCommand(ref Command command); - public static Command Create() + public static Command Create(string? commandName = null) { - var command = new Command(@"upload-file", @"Upload a file for prediction inputs."); + var command = new Command(commandName ?? @"upload-file", @"Upload a file for prediction inputs."); command.Options.Add(Content); command.Options.Add(Contentname);