From 3af07619b6c742cdcaf85c9b3990c58985e66f90 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sun, 16 Jun 2024 16:41:26 +0400 Subject: [PATCH] feat: Added Trimming support for CLI generated code. --- .../Commands/GenerateCommand.cs | 6 +- .../OpenApiGenerator.Core/Generation/Data.cs | 3 + .../Sources.JsonSerializerContext.cs | 42 + .../Generation/Sources.cs | 17 + .../OpenApiGenerator.Core/Models/EndPoint.cs | 3 + .../CliTests.cs | 3 + .../LangSmith/Methods/_.verified.txt | 66 + .../Snapshots/Ollama/Methods/_.verified.txt | 396 ++++ .../Snapshots/OpenAi/Methods/_.verified.txt | 1716 +++++++++++++++++ .../Replicate/Methods/_.verified.txt | 667 +++++++ .../SpecialCases/Methods/_.verified.txt | 88 + 11 files changed, 3004 insertions(+), 3 deletions(-) create mode 100644 src/libs/OpenApiGenerator.Core/Generation/Sources.JsonSerializerContext.cs diff --git a/src/libs/OpenApiGenerator.Cli/Commands/GenerateCommand.cs b/src/libs/OpenApiGenerator.Cli/Commands/GenerateCommand.cs index f4bd2f5a8e..dc209f8808 100644 --- a/src/libs/OpenApiGenerator.Cli/Commands/GenerateCommand.cs +++ b/src/libs/OpenApiGenerator.Cli/Commands/GenerateCommand.cs @@ -83,8 +83,8 @@ private static async Task HandleAsync( ExcludeOperationIds: [], IncludeTags: [], ExcludeTags: [], - JsonSerializerContext: string.Empty, - GenerateJsonSerializerContextTypes: false, + JsonSerializerContext: $"{@namespace}.SourceGenerationContext", + GenerateJsonSerializerContextTypes: true, GenerateModels: false, ModelStyle: default, IncludeModels: [], @@ -100,8 +100,8 @@ private static async Task HandleAsync( .Select(x => Sources.Method(x))) .Concat(data.AnyOfs .SelectMany(x => new [] { Sources.AnyOf(x), Sources.AnyOfJsonConverter(x), Sources.AnyOfJsonConverterFactory(x) })) + .Concat([Sources.JsonSerializerContext(data.Converters, data.Types)]) .Concat([Sources.JsonSerializerContextTypes(data.Types)]) - .Concat([Sources.JsonSerializerContextConverters(data.Converters)]) .Where(x => !x.IsEmpty) .ToArray(); diff --git a/src/libs/OpenApiGenerator.Core/Generation/Data.cs b/src/libs/OpenApiGenerator.Core/Generation/Data.cs index d3983064d9..ed4ed20351 100644 --- a/src/libs/OpenApiGenerator.Core/Generation/Data.cs +++ b/src/libs/OpenApiGenerator.Core/Generation/Data.cs @@ -148,6 +148,7 @@ .. includedTags.Select(x => PropertyData.Default with HttpMethod: OperationType.Get, Summary: openApiDocument.Info?.Description?.ClearForXml() ?? string.Empty, BaseUrlSummary: openApiDocument.Servers.FirstOrDefault()?.Description?.ClearForXml() ?? string.Empty, + Settings: settings, IsDeprecated: false, RequestType: TypeData.Default, ResponseType: TypeData.Default, @@ -174,6 +175,7 @@ .. includedTags.Select(x => PropertyData.Default with HttpMethod: OperationType.Get, Summary: x.Description?.ClearForXml() ?? string.Empty, BaseUrlSummary: openApiDocument.Servers.FirstOrDefault()?.Description?.ClearForXml() ?? string.Empty, + Settings: settings, IsDeprecated: false, RequestType: TypeData.Default, ResponseType: TypeData.Default, @@ -344,6 +346,7 @@ .. includedTags.Select(x => PropertyData.Default with HttpMethod: OperationType.Get, Summary: string.Empty, BaseUrlSummary: string.Empty, + Settings: settings, IsDeprecated: false, RequestType: TypeData.Default, ResponseType: TypeData.Default, diff --git a/src/libs/OpenApiGenerator.Core/Generation/Sources.JsonSerializerContext.cs b/src/libs/OpenApiGenerator.Core/Generation/Sources.JsonSerializerContext.cs new file mode 100644 index 0000000000..321bdd73ee --- /dev/null +++ b/src/libs/OpenApiGenerator.Core/Generation/Sources.JsonSerializerContext.cs @@ -0,0 +1,42 @@ +using OpenApiGenerator.Core.Extensions; +using OpenApiGenerator.Core.Json; +using OpenApiGenerator.Core.Models; + +namespace OpenApiGenerator.Core.Generation; + +public static partial class Sources +{ + public static string GenerateJsonSerializerContext( + EndPoint endPoint, + EquatableArray types, + CancellationToken cancellationToken = default) + { + if (!endPoint.Settings.FromCli || + !endPoint.Settings.GenerateJsonSerializerContextTypes || + endPoint.Settings.JsonSerializerType != JsonSerializerType.SystemTextJson) + { + return string.Empty; + } + + return $@" +#nullable enable + +#pragma warning disable CS0618 // Type or member is obsolete + +namespace {endPoint.Namespace} +{{ + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + {{ +{endPoint.Converters.Select(x => $@" + typeof({x}), +").Inject()} + }})] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::{endPoint.Namespace}.JsonSerializerContextTypes))] + internal sealed partial class SourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + {{ + }} +}}".RemoveBlankLinesWhereOnlyWhitespaces(); + } +} \ No newline at end of file diff --git a/src/libs/OpenApiGenerator.Core/Generation/Sources.cs b/src/libs/OpenApiGenerator.Core/Generation/Sources.cs index 856260068d..c22fddac0f 100644 --- a/src/libs/OpenApiGenerator.Core/Generation/Sources.cs +++ b/src/libs/OpenApiGenerator.Core/Generation/Sources.cs @@ -106,6 +106,23 @@ public static FileWithName JsonSerializerContextTypes( Text: GenerateJsonSerializerContextTypes(types, cancellationToken: cancellationToken)); } + public static FileWithName JsonSerializerContext( + EndPoint endPoint, + EquatableArray types, + CancellationToken cancellationToken = default) + { + if (!endPoint.Settings.FromCli || + !endPoint.Settings.GenerateJsonSerializerContextTypes || + endPoint.Settings.JsonSerializerType == JsonSerializerType.NewtonsoftJson) + { + return FileWithName.Empty; + } + + return new FileWithName( + Name: "JsonSerializerContext.g.cs", + Text: GenerateJsonSerializerContext(endPoint, types, cancellationToken: cancellationToken)); + } + public static FileWithName JsonSerializerContextConverters( EndPoint endPoint, CancellationToken cancellationToken = default) diff --git a/src/libs/OpenApiGenerator.Core/Models/EndPoint.cs b/src/libs/OpenApiGenerator.Core/Models/EndPoint.cs index 3e36634417..7301b5a611 100644 --- a/src/libs/OpenApiGenerator.Core/Models/EndPoint.cs +++ b/src/libs/OpenApiGenerator.Core/Models/EndPoint.cs @@ -21,6 +21,7 @@ public readonly record struct EndPoint( OperationType HttpMethod, string Summary, string BaseUrlSummary, + Settings Settings, bool IsDeprecated, TypeData RequestType, TypeData ResponseType, @@ -199,6 +200,7 @@ public static EndPoint FromSchema( HttpMethod: operation.Key, Summary: operation.Value.GetXmlDocumentationSummary(), BaseUrlSummary: string.Empty, + Settings: settings, IsDeprecated: operation.Value.Deprecated, RequestType: requestType ?? TypeData.Default, ResponseType: responseType ?? TypeData.Default, @@ -237,6 +239,7 @@ public static EndPoint FromAuthorization( HttpMethod: default, Summary: string.Empty, BaseUrlSummary: string.Empty, + Settings: settings, IsDeprecated: false, RequestType: TypeData.Default, ResponseType: TypeData.Default, diff --git a/src/tests/OpenApiGenerator.IntegrationTests.Cli/CliTests.cs b/src/tests/OpenApiGenerator.IntegrationTests.Cli/CliTests.cs index 412a03b70a..2597e9ed41 100644 --- a/src/tests/OpenApiGenerator.IntegrationTests.Cli/CliTests.cs +++ b/src/tests/OpenApiGenerator.IntegrationTests.Cli/CliTests.cs @@ -45,6 +45,9 @@ await File.WriteAllTextAsync(Path.Combine(tempDirectory, "Oag.csproj"), @" net8.0 + preview + enable + enable diff --git a/src/tests/OpenApiGenerator.UnitTests/Snapshots/LangSmith/Methods/_.verified.txt b/src/tests/OpenApiGenerator.UnitTests/Snapshots/LangSmith/Methods/_.verified.txt index 6b797a440a..f4679f1c4e 100644 --- a/src/tests/OpenApiGenerator.UnitTests/Snapshots/LangSmith/Methods/_.verified.txt +++ b/src/tests/OpenApiGenerator.UnitTests/Snapshots/LangSmith/Methods/_.verified.txt @@ -184,6 +184,28 @@ Update Run Update a run., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.RunUpdateSchemaExtended, @@ -839,6 +861,28 @@ Update a run., Create Run Create a new run., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.RunCreateSchemaExtended, @@ -984,6 +1028,28 @@ Create a new run., GenerateJsonSerializerContextTypes: false, Summary: From https://github.com/langchain-ai/langsmith-sdk/blob/main/openapi/openapi.yaml, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , diff --git a/src/tests/OpenApiGenerator.UnitTests/Snapshots/Ollama/Methods/_.verified.txt b/src/tests/OpenApiGenerator.UnitTests/Snapshots/Ollama/Methods/_.verified.txt index d68906f86e..249a0ffe98 100644 --- a/src/tests/OpenApiGenerator.UnitTests/Snapshots/Ollama/Methods/_.verified.txt +++ b/src/tests/OpenApiGenerator.UnitTests/Snapshots/Ollama/Methods/_.verified.txt @@ -376,6 +376,28 @@ How long (in minutes) to keep the model loaded in memory. Generate a response for a given prompt with a provided model. The final response object will include statistics and additional data from the request., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.GenerateCompletionRequest, @@ -733,6 +755,28 @@ How long (in minutes) to keep the model loaded in memory. Generate the next message in a chat with a provided model. This is a streaming endpoint, so there will be a series of responses. The final response object will include statistics and additional data from the request., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.GenerateChatCompletionRequest, @@ -1012,6 +1056,28 @@ How long (in minutes) to keep the model loaded in memory. HttpMethod: Post, Summary: Generate embeddings from a model., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.GenerateEmbeddingRequest, @@ -1263,6 +1329,28 @@ Default Value: true, Create a model from a Modelfile. It is recommended to set `modelfile` to the content of the Modelfile rather than just set `path`. This is a requirement for remote create. Remote model creation should also create any file blobs, fields such as `FROM` and `ADAPTER`, explicitly with the server using Create a Blob and the value to the path indicated in the response., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateModelRequest, @@ -1366,6 +1454,28 @@ It is recommended to set `modelfile` to the content of the Modelfile rather than GenerateJsonSerializerContextTypes: true, Summary: List models that are available locally., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -1441,6 +1551,28 @@ It is recommended to set `modelfile` to the content of the Modelfile rather than GenerateJsonSerializerContextTypes: true, Summary: List models that are running., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -1550,6 +1682,28 @@ Example: llama3:8b, HttpMethod: Post, Summary: Show details about a model including modelfile, template, parameters, license, and system prompt., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.ModelInfoRequest, @@ -1717,6 +1871,28 @@ Example: llama3-backup, HttpMethod: Post, Summary: Creates a model with another name from an existing model., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CopyModelRequest, @@ -1828,6 +2004,28 @@ Example: llama3:13b, HttpMethod: Delete, Summary: Delete a model and its data., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.DeleteModelRequest, @@ -2057,6 +2255,28 @@ Default Value: true, Download a model from the ollama library. Cancelled pulls are resumed from where they left off, and multiple calls will share the same download progress., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.PullModelRequest, @@ -2317,6 +2537,28 @@ Default Value: true, Upload a model to a model library. Requires registering for ollama.ai and adding a public key first., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.PushModelRequest, @@ -2460,6 +2702,28 @@ Requires registering for ollama.ai and adding a public key first., Ensures that the file blob used for a FROM or ADAPTER field exists on the server. This is checking your Ollama server and not Ollama.ai., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2546,6 +2810,28 @@ This is checking your Ollama server and not Ollama.ai., HttpMethod: Post, Summary: Create a blob from a file. Returns the server file path., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: byte[], @@ -2726,6 +3012,28 @@ This is checking your Ollama server and not Ollama.ai., GenerateJsonSerializerContextTypes: true, Summary: API Spec for Ollama API. Please see https://github.com/jmorganca/ollama/blob/main/docs/api.md for more details., BaseUrlSummary: Ollama server URL, + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2801,6 +3109,28 @@ This is checking your Ollama server and not Ollama.ai., GenerateJsonSerializerContextTypes: true, Summary: Given a prompt, the model will generate a completion., BaseUrlSummary: Ollama server URL, + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2855,6 +3185,28 @@ This is checking your Ollama server and not Ollama.ai., GenerateJsonSerializerContextTypes: true, Summary: Given a list of messages comprising a conversation, the model will return a response., BaseUrlSummary: Ollama server URL, + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2909,6 +3261,28 @@ This is checking your Ollama server and not Ollama.ai., GenerateJsonSerializerContextTypes: true, Summary: Get a vector representation of a given input., BaseUrlSummary: Ollama server URL, + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2963,6 +3337,28 @@ This is checking your Ollama server and not Ollama.ai., GenerateJsonSerializerContextTypes: true, Summary: List and describe the various models available., BaseUrlSummary: Ollama server URL, + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: true, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , diff --git a/src/tests/OpenApiGenerator.UnitTests/Snapshots/OpenAi/Methods/_.verified.txt b/src/tests/OpenApiGenerator.UnitTests/Snapshots/OpenAi/Methods/_.verified.txt index 526270bbc3..68e2500e5a 100644 --- a/src/tests/OpenApiGenerator.UnitTests/Snapshots/OpenAi/Methods/_.verified.txt +++ b/src/tests/OpenApiGenerator.UnitTests/Snapshots/OpenAi/Methods/_.verified.txt @@ -706,6 +706,28 @@ A list of functions the model may generate JSON inputs for. HttpMethod: Post, Summary: Creates a model response for the given chat conversation., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateChatCompletionRequest, @@ -1439,6 +1461,28 @@ Example: user-1234, HttpMethod: Post, Summary: Creates a completion for the provided prompt and parameters., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateCompletionRequest, @@ -1858,6 +1902,28 @@ Example: user-1234, HttpMethod: Post, Summary: Creates an image given a prompt., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateImageRequest, @@ -2223,6 +2289,28 @@ Example: user-1234, HttpMethod: Post, Summary: Creates an edited or extended image given an original image and a prompt., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateImageEditRequest, @@ -2532,6 +2620,28 @@ Example: user-1234, HttpMethod: Post, Summary: Creates a variation of a given image., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateImageVariationRequest, @@ -2799,6 +2909,28 @@ Example: user-1234, HttpMethod: Post, Summary: Creates an embedding vector representing the input text., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateEmbeddingRequest, @@ -3082,6 +3214,28 @@ Default Value: 1, HttpMethod: Post, Summary: Generates audio from the input text., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateSpeechRequest, @@ -3406,6 +3560,28 @@ Default Value: [segment], HttpMethod: Post, Summary: Transcribes audio into the input language., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateTranscriptionRequest, @@ -3664,6 +3840,28 @@ Default Value: 0, HttpMethod: Post, Summary: Translates audio into English., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateTranslationRequest, @@ -3796,6 +3994,28 @@ Default Value: 0, GenerateJsonSerializerContextTypes: false, Summary: Returns a list of files that belong to the user's organization., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -3955,6 +4175,28 @@ The Batch API only supports `.jsonl` files up to 100 MB in size. The input also Please [contact us](https://help.openai.com/) if you need to increase these storage limits. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateFileRequest, @@ -4098,6 +4340,28 @@ Please [contact us](https://help.openai.com/) if you need to increase these stor HttpMethod: Delete, Summary: Delete a file., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4208,6 +4472,28 @@ Please [contact us](https://help.openai.com/) if you need to increase these stor GenerateJsonSerializerContextTypes: false, Summary: Returns information about a specific file., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4328,6 +4614,28 @@ Please [contact us](https://help.openai.com/) if you need to increase these stor GenerateJsonSerializerContextTypes: false, Summary: Returns the contents of the specified file., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4632,6 +4940,28 @@ Response includes details of the enqueued job including job status and the name [Learn more about fine-tuning](/docs/guides/fine-tuning) , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateFineTuningJobRequest, @@ -4835,6 +5165,28 @@ Response includes details of the enqueued job including job status and the name List your organization's fine-tuning jobs , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4949,6 +5301,28 @@ Get info about a fine-tuning job. [Learn more about fine-tuning](/docs/guides/fine-tuning) , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5150,6 +5524,28 @@ Get info about a fine-tuning job. Get status updates for a fine-tuning job. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5261,6 +5657,28 @@ Get status updates for a fine-tuning job. Immediately cancel a fine-tune job. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5462,6 +5880,28 @@ Immediately cancel a fine-tune job. List checkpoints for a fine-tuning job. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5545,6 +5985,28 @@ List checkpoints for a fine-tuning job. GenerateJsonSerializerContextTypes: false, Summary: Lists the currently available models, and provides basic information about each one such as the owner and availability., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5653,6 +6115,28 @@ List checkpoints for a fine-tuning job. GenerateJsonSerializerContextTypes: false, Summary: Retrieves a model instance, providing basic information about the model such as the owner and permissioning., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5766,6 +6250,28 @@ List checkpoints for a fine-tuning job. HttpMethod: Delete, Summary: Delete a fine-tuned model. You must have the Owner role in your organization to delete a model., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -5910,6 +6416,28 @@ Example: text-moderation-stable, HttpMethod: Post, Summary: Classifies if text is potentially harmful., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateModerationRequest, @@ -6140,6 +6668,28 @@ Example: text-moderation-stable, GenerateJsonSerializerContextTypes: false, Summary: Returns a list of assistants., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -6533,6 +7083,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m HttpMethod: Post, Summary: Create an assistant with a model and instructions., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateAssistantRequest, @@ -6701,6 +7273,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m GenerateJsonSerializerContextTypes: false, Summary: Retrieves an assistant., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -7139,6 +7733,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m HttpMethod: Post, Summary: Modifies an assistant., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.ModifyAssistantRequest, @@ -7308,6 +7924,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m HttpMethod: Delete, Summary: Delete an assistant., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -7475,6 +8113,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Create a thread., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateThreadRequest, @@ -7613,6 +8273,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Retrieves a thread., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -7787,6 +8469,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Modifies a thread., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.ModifyThreadRequest, @@ -7924,6 +8628,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Delete, Summary: Delete a thread., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -8192,6 +8918,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Returns a list of messages for a given thread., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -8429,6 +9177,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Create a message., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateMessageRequest, @@ -8617,6 +9387,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Retrieve a message., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -8810,6 +9602,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Modifies a message., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.ModifyMessageRequest, @@ -8993,6 +9807,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Delete, Summary: Deletes a message., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -9556,6 +10392,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m HttpMethod: Post, Summary: Create a thread and run it in one request., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateThreadAndRunRequest, @@ -9892,6 +10750,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m GenerateJsonSerializerContextTypes: false, Summary: Returns a list of runs belonging to a thread., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -10483,6 +11363,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m HttpMethod: Post, Summary: Create a run., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateRunRequest, @@ -10721,6 +11623,28 @@ Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the m GenerateJsonSerializerContextTypes: false, Summary: Retrieves a run., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -10940,6 +11864,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Modifies a run., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.ModifyRunRequest, @@ -11207,6 +12153,28 @@ If `true`, returns a stream of events that happen during the Run as server-sent When a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.SubmitToolOutputsRunRequest, @@ -11418,6 +12386,28 @@ When a run has the `status: "requires_action"` and `required_action.type` is `su HttpMethod: Post, Summary: Cancels a run that is `in_progress`., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -11734,6 +12724,28 @@ When a run has the `status: "requires_action"` and `required_action.type` is `su GenerateJsonSerializerContextTypes: false, Summary: Returns a list of run steps belonging to a run., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -11908,6 +12920,28 @@ When a run has the `status: "requires_action"` and `required_action.type` is `su GenerateJsonSerializerContextTypes: false, Summary: Retrieves a run step., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -12142,6 +13176,28 @@ When a run has the `status: "requires_action"` and `required_action.type` is `su GenerateJsonSerializerContextTypes: false, Summary: Returns a list of vector stores., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -12370,6 +13426,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Create a vector store., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateVectorStoreRequest, @@ -12524,6 +13602,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Retrieves a vector store., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -12738,6 +13838,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Modifies a vector store., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.UpdateVectorStoreRequest, @@ -12889,6 +14011,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Delete, Summary: Delete a vector store., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -13167,6 +14311,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Returns a list of vector store files., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -13337,6 +14503,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object)., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateVectorStoreFileRequest, @@ -13509,6 +14697,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Retrieves a vector store file., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -13660,6 +14870,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Delete, Summary: Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -13826,6 +15058,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Create a vector store file batch., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateVectorStoreFileBatchRequest, @@ -13994,6 +15248,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Retrieves a vector store file batch., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -14141,6 +15417,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful HttpMethod: Post, Summary: Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -14455,6 +15753,28 @@ Set of 16 key-value pairs that can be attached to an object. This can be useful GenerateJsonSerializerContextTypes: false, Summary: Returns a list of vector store files in a batch., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -14667,6 +15987,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re HttpMethod: Post, Summary: Creates and executes a batch from an uploaded file of requests, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateBatchRequest, @@ -14858,6 +16200,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: List your organization's batches., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -14972,6 +16336,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Retrieves a batch., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -15117,6 +16503,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re HttpMethod: Post, Summary: Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -15230,6 +16638,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -15609,6 +17039,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16074,6 +17526,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Build Assistants that can call models and use tools., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16128,6 +17602,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Turn audio into text or text into audio., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16182,6 +17678,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Given a list of messages comprising a conversation, the model will return a response., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16236,6 +17754,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16290,6 +17830,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16344,6 +17906,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Manage fine-tuning jobs to tailor a model to your specific training data., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16398,6 +17982,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Create large batches of API requests to run asynchronously., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16452,6 +18058,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Files are used to upload documents that can be used with features like Assistants and Fine-tuning., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16506,6 +18134,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Given a prompt and/or an input image, the model will generate a new image., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16560,6 +18210,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: List and describe the various models available in the API., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16614,6 +18286,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: Given a input text, outputs if the model classifies it as potentially harmful., BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -16668,6 +18362,28 @@ Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/re GenerateJsonSerializerContextTypes: false, Summary: , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: true, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , diff --git a/src/tests/OpenApiGenerator.UnitTests/Snapshots/Replicate/Methods/_.verified.txt b/src/tests/OpenApiGenerator.UnitTests/Snapshots/Replicate/Methods/_.verified.txt index fc188e5cd3..80b4103086 100644 --- a/src/tests/OpenApiGenerator.UnitTests/Snapshots/Replicate/Methods/_.verified.txt +++ b/src/tests/OpenApiGenerator.UnitTests/Snapshots/Replicate/Methods/_.verified.txt @@ -35,6 +35,29 @@ The response will be a JSON object describing the account: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -131,6 +154,29 @@ The response will be a paginated JSON list of collection objects: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -236,6 +282,29 @@ The response will be a collection object with a nested list of the models in tha ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -333,6 +402,29 @@ The response will be a paginated JSON array of deployment objects, sorted with t ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -615,6 +707,29 @@ The response will be a JSON object describing the deployment: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateDeploymentsRequest, @@ -781,6 +896,29 @@ curl -s -X DELETE \ The response will be an empty 204, indicating the deployment has been deleted. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -933,6 +1071,29 @@ The response will be a JSON object describing the deployment: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -1216,6 +1377,29 @@ The response will be a JSON object describing the deployment: Updating any deployment properties will increment the `number` field of the `current_release`. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.UpdateDeploymentsRequest, @@ -1566,6 +1750,29 @@ Input and output (including any files) will be automatically deleted after an ho Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.PredictionRequest, @@ -1667,6 +1874,29 @@ The response will be a JSON array of hardware objects: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -1781,6 +2011,29 @@ The `cover_image_url` string is an HTTPS URL for an image file. This can be: - A generic fallback image. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2118,6 +2371,29 @@ The response will be a model object in the following format: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.CreateModelsRequest, @@ -2270,6 +2546,29 @@ curl -s -X DELETE \ The response will be an empty 204, indicating the model has been deleted. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2424,6 +2723,29 @@ The `default_example` object is a [prediction](#predictions.get) created with th The `latest_version` object is the model's most recently pushed [version](#models.versions.get). , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -2741,6 +3063,29 @@ Input and output (including any files) will be automatically deleted after an ho Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.PredictionRequest, @@ -2909,6 +3254,29 @@ The response will be a JSON array of model version objects, sorted with the most ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -3077,6 +3445,29 @@ curl -s -X DELETE \ The response will be an empty 202, indicating the deletion request has been accepted. It might take a few minutes to be processed. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -3275,6 +3666,29 @@ The `openapi_schema.components.schemas.Output` property for the [replicate/hello For more details, see the docs on [Cog's supported input and output types](https://github.com/replicate/cog/blob/75b7802219e7cd4cee845e34c4c22139558615d4/docs/python.md#input-and-output-types) , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -3607,6 +4021,29 @@ When a training completes, it creates a new [version](https://replicate.com/docs To find some models to train on, check out the [trainable language models collection](https://replicate.com/collections/trainable-language-models). , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.TrainingRequest, @@ -3744,6 +4181,29 @@ The response will be a paginated JSON array of prediction objects, sorted with t `version` will be the unique ID of model version used to create the prediction. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4030,6 +4490,29 @@ Input and output (including any files) will be automatically deleted after an ho Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: global::G.VersionPredictionRequest, @@ -4200,6 +4683,29 @@ Input and output (including any files) are automatically deleted after an hour, Output files are served by `replicate.delivery` and its subdomains. If you use an allow list of external domains for your assets, add `replicate.delivery` and `*.replicate.delivery` to it. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4286,6 +4792,29 @@ Output files are served by `replicate.delivery` and its subdomains. If you use a HttpMethod: Post, Summary: Cancel a prediction, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4397,6 +4926,29 @@ The response will be a paginated JSON array of training objects, sorted with the `version` will be the unique ID of model version used to create the training. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4537,6 +5089,29 @@ In the case of failure, `error` will contain the error encountered during the tr Terminated trainings (with a status of `succeeded`, `failed`, or `canceled`) will include a `metrics` object with a `predict_time` property showing the amount of CPU or GPU time, in seconds, that the training used while running. It won't include time waiting for the training to start. , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4623,6 +5198,29 @@ Terminated trainings (with a status of `succeeded`, `failed`, or `canceled`) wil HttpMethod: Post, Summary: Cancel a training, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4696,6 +5294,29 @@ The response will be a JSON object with a `key` property: ``` , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4767,6 +5388,29 @@ The response will be a JSON object with a `key` property: GenerateJsonSerializerContextTypes: false, Summary: , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -4821,6 +5465,29 @@ The response will be a JSON object with a `key` property: GenerateJsonSerializerContextTypes: false, Summary: A web service for running Replicate models, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConvention: OperationIdWithDots, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , diff --git a/src/tests/OpenApiGenerator.UnitTests/Snapshots/SpecialCases/Methods/_.verified.txt b/src/tests/OpenApiGenerator.UnitTests/Snapshots/SpecialCases/Methods/_.verified.txt index 8e158a90c7..eab72949d8 100644 --- a/src/tests/OpenApiGenerator.UnitTests/Snapshots/SpecialCases/Methods/_.verified.txt +++ b/src/tests/OpenApiGenerator.UnitTests/Snapshots/SpecialCases/Methods/_.verified.txt @@ -44,6 +44,28 @@ GenerateJsonSerializerContextTypes: false, Summary: List all pets, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -135,6 +157,28 @@ HttpMethod: Post, Summary: Create a pet, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -243,6 +287,28 @@ GenerateJsonSerializerContextTypes: false, Summary: Info for a specific pet, BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: , @@ -347,6 +413,28 @@ GenerateJsonSerializerContextTypes: false, Summary: , BaseUrlSummary: , + Settings: { + TargetFramework: netstandard2.0, + Namespace: G, + ClassName: Api, + GenerateConstructors: false, + GroupByTags: false, + GenerateMethods: false, + MethodNamingConventionFallback: MethodAndPath, + GenerateMethodsAsHttpClientExtensions: false, + GenerateMethodsUsingSystemNetHttpJson: false, + IncludeOperationIds: null, + ExcludeOperationIds: null, + IncludeTags: null, + ExcludeTags: null, + JsonSerializerContext: , + GenerateJsonSerializerContextTypes: false, + GenerateModels: false, + IncludeModels: null, + ExcludeModels: null, + GenerateSdk: true, + FromCli: false + }, IsDeprecated: false, RequestType: { CSharpType: ,