diff --git a/README.md b/README.md index ca9d56ca36..63fd1d3485 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Custom tools let you associate a tool with an item in a project and run that too - ***NSwagCodeGenerator*** - Generates a single file C# REST API Client using the [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/) **v14.2.0** -- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.10.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.10.0)**. +- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.11.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.11.0)**. The output file is the result of merging all the files generated using the OpenAPI Generator tool with: `generate -g csharp --input-spec [swagger file] --output [output file] -DapiTests=false -DmodelTests=false -DpackageName=[default namespace] --skip-overwrite`. It is possible to configure the OpenAPI Generator to generate multiple files which will be placed at the same path as the OpenAPI specifications document that was used to generate code, this is done under Tools -> REST API Client Code Generator -> OpenAPI Generator and setting **Generate Multiple Files** to **true** @@ -267,7 +267,7 @@ Options: Commands: csharp Generate C# API clients jmeter Generate Apache JMeter test plans - openapi-generator Generate code using OpenAPI Generator (v7.10.0). + openapi-generator Generate code using OpenAPI Generator (v7.11.0). See supported generators at https://openapi-generator.tech/docs/generators/ typescript Generate TypeScript API clients @@ -306,7 +306,7 @@ Commands: autorest AutoRest (v3.0.0-beta.20210504.2) kiota Microsoft Kiota (v1.22.0) nswag NSwag (v14.2.0) - openapi OpenAPI Generator (v7.10.0) + openapi OpenAPI Generator (v7.11.0) refitter Refitter (v1.5.0) swagger Swagger Codegen CLI (v3.0.34) diff --git a/docs/CLI.md b/docs/CLI.md index e97c842ad3..d2e7315e0f 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -33,7 +33,7 @@ Options: Commands: csharp Generate C# API clients jmeter Generate Apache JMeter test plans - openapi-generator Generate code using OpenAPI Generator (v7.10.0). + openapi-generator Generate code using OpenAPI Generator (v7.11.0). See supported generators at https://openapi-generator.tech/docs/generators/ typescript Generate TypeScript API clients @@ -72,7 +72,7 @@ Commands: autorest AutoRest (v3.0.0-beta.20210504.2) kiota Microsoft Kiota (v1.22.0) nswag NSwag (v14.2.0) - openapi OpenAPI Generator (v7.10.0) + openapi OpenAPI Generator (v7.11.0) refitter Refitter (v1.5.0) swagger Swagger Codegen CLI (v3.0.34) diff --git a/docs/Marketplace.md b/docs/Marketplace.md index a8acb182d7..8e9102dc64 100644 --- a/docs/Marketplace.md +++ b/docs/Marketplace.md @@ -27,7 +27,7 @@ A collection of Visual Studio C# custom tool code generators for Swagger / OpenA - ***NSwagCodeGenerator*** - Generates a single file C# REST API Client using the [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/) **v14.2.0** -- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.10.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.10.0)**. +- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.11.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.11.0)**. The output file is the result of merging all the files generated using the OpenAPI Generator tool with: `generate -g csharp --input-spec [swagger file] --output [output file] -DapiTests=false -DmodelTests=false -DpackageName=[default namespace] --skip-overwrite`. It is possible to configure the OpenAPI Generator to generate multiple files which will be placed at the same path as the OpenAPI specifications document that was used to generate code, this is done under Tools -> REST API Client Code Generator -> OpenAPI Generator and setting **Generate Multiple Files** to **true** diff --git a/docs/Marketplace2022.md b/docs/Marketplace2022.md index 5d195771b5..c9de2273db 100644 --- a/docs/Marketplace2022.md +++ b/docs/Marketplace2022.md @@ -27,7 +27,7 @@ A collection of Visual Studio C# custom tool code generators for Swagger / OpenA - ***NSwagCodeGenerator*** - Generates a single file C# REST API Client using the [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/) **v14.2.0** -- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.10.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.10.0)**. +- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.11.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.11.0)**. The output file is the result of merging all the files generated using the OpenAPI Generator tool with: `generate -g csharp --input-spec [swagger file] --output [output file] -DapiTests=false -DmodelTests=false -DpackageName=[default namespace] --skip-overwrite`. It is possible to configure the OpenAPI Generator to generate multiple files which will be placed at the same path as the OpenAPI specifications document that was used to generate code, this is done under Tools -> REST API Client Code Generator -> OpenAPI Generator and setting **Generate Multiple Files** to **true** diff --git a/docs/VisualStudioForMac.md b/docs/VisualStudioForMac.md index 14ae2ac2df..c99c71f21a 100644 --- a/docs/VisualStudioForMac.md +++ b/docs/VisualStudioForMac.md @@ -13,7 +13,7 @@ A collection of Visual Studio C# custom tool code generators for Swagger / OpenA - ***NSwagCodeGenerator*** - Generates a single file C# REST API Client using the [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/) **v14.2.0** -- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.10.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.10.0)**. +- ***OpenApiCodeGenerator*** - Generates a single file C# REST API Client using **[OpenAPI Generator v7.11.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.11.0)**. The output file is the result of merging all the files generated using the OpenAPI Generator tool with: `generate -g csharp --input-spec [swagger file] --output [output file] -DapiTests=false -DmodelTests=false -DpackageName=[default namespace] --skip-overwrite` diff --git a/src/CLI/ApiClientCodeGen.CLI/Commands/CSharp/OpenApiCSharpGeneratorCommand.cs b/src/CLI/ApiClientCodeGen.CLI/Commands/CSharp/OpenApiCSharpGeneratorCommand.cs index 52a8f8b329..8eef16d39f 100644 --- a/src/CLI/ApiClientCodeGen.CLI/Commands/CSharp/OpenApiCSharpGeneratorCommand.cs +++ b/src/CLI/ApiClientCodeGen.CLI/Commands/CSharp/OpenApiCSharpGeneratorCommand.cs @@ -9,7 +9,7 @@ namespace Rapicgen.CLI.Commands.CSharp { - [Command("openapi", Description = "OpenAPI Generator (v7.10.0)")] + [Command("openapi", Description = "OpenAPI Generator (v7.11.0)")] public class OpenApiCSharpGeneratorCommand : CodeGeneratorCommand, IOpenApiGeneratorOptions { private readonly IGeneralOptions options; diff --git a/src/CLI/ApiClientCodeGen.CLI/Commands/OpenApiGeneratorCommand.cs b/src/CLI/ApiClientCodeGen.CLI/Commands/OpenApiGeneratorCommand.cs index 254b63ff75..c16cb66e1a 100644 --- a/src/CLI/ApiClientCodeGen.CLI/Commands/OpenApiGeneratorCommand.cs +++ b/src/CLI/ApiClientCodeGen.CLI/Commands/OpenApiGeneratorCommand.cs @@ -15,7 +15,7 @@ namespace Rapicgen.CLI.Commands [Command( "openapi-generator", Description = - @"Generate code using OpenAPI Generator (v7.10.0). + @"Generate code using OpenAPI Generator (v7.11.0). See supported generators at https://openapi-generator.tech/docs/generators/")] public class OpenApiGeneratorCommand { diff --git a/src/Core/ApiClientCodeGen.Core/Generators/OpenApi/OpenApiCSharpCodeGenerator.cs b/src/Core/ApiClientCodeGen.Core/Generators/OpenApi/OpenApiCSharpCodeGenerator.cs index 227cb9db5e..b006d8d761 100644 --- a/src/Core/ApiClientCodeGen.Core/Generators/OpenApi/OpenApiCSharpCodeGenerator.cs +++ b/src/Core/ApiClientCodeGen.Core/Generators/OpenApi/OpenApiCSharpCodeGenerator.cs @@ -131,7 +131,7 @@ public string GenerateCode(IProgressReporter? pGenerateProgress) return GeneratedCode.PrefixAutogeneratedCodeHeader( Sanitize(CSharpFileMerger.MergeFilesAndDeleteSource(output)), "OpenAPI Generator", - "v7.10.0"); + "v7.11.0"); } else { diff --git a/src/Core/ApiClientCodeGen.Core/Resource.Designer.cs b/src/Core/ApiClientCodeGen.Core/Resource.Designer.cs index 536980b305..891aff3da3 100644 --- a/src/Core/ApiClientCodeGen.Core/Resource.Designer.cs +++ b/src/Core/ApiClientCodeGen.Core/Resource.Designer.cs @@ -78,7 +78,7 @@ public static string LegacyOpenApiGenerator_SHA1 { } /// - /// Looks up a localized string similar to https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.10.0/openapi-generator-cli-7.10.0.jar. + /// Looks up a localized string similar to https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.0.jar. /// public static string OpenApiGenerator_DownloadUrl { get { diff --git a/src/Core/ApiClientCodeGen.Core/Resource.resx b/src/Core/ApiClientCodeGen.Core/Resource.resx index 11edd04bf0..d55737236e 100644 --- a/src/Core/ApiClientCodeGen.Core/Resource.resx +++ b/src/Core/ApiClientCodeGen.Core/Resource.resx @@ -118,13 +118,13 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.10.0/openapi-generator-cli-7.10.0.jar + https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.0.jar - cebbfd626e0b2e32509a4a34811c4dc6 + 4931bca886d30823b3ba2c7f36607925 - e9cc6e4cd2dcb77a86b647a1ed4352fd08f187ce + 9261333ecbfd8738956b09be0beff611b47fbaff https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.34/swagger-codegen-cli-3.0.34.jar diff --git a/src/VSIX/ApiClientCodeGen.VSIX.Dev17/VSCommandTable.vsct b/src/VSIX/ApiClientCodeGen.VSIX.Dev17/VSCommandTable.vsct index 808f0d926f..62ffe1be9b 100644 --- a/src/VSIX/ApiClientCodeGen.VSIX.Dev17/VSCommandTable.vsct +++ b/src/VSIX/ApiClientCodeGen.VSIX.Dev17/VSCommandTable.vsct @@ -39,7 +39,7 @@