Skip to content

Commit

Permalink
Merge pull request #1080 from christianhelle/openapi-generator-7.11.0
Browse files Browse the repository at this point in the history
OpenAPI Generator v7.11.0
  • Loading branch information
christianhelle authored Jan 21, 2025
2 parents 00fa8fc + d7bc0f0 commit 02029b7
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion docs/Marketplace.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
2 changes: 1 addition & 1 deletion docs/Marketplace2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
2 changes: 1 addition & 1 deletion docs/VisualStudioForMac.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Core/ApiClientCodeGen.Core/Resource.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Core/ApiClientCodeGen.Core/Resource.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="OpenApiGenerator_DownloadUrl" xml:space="preserve">
<value>https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.10.0/openapi-generator-cli-7.10.0.jar</value>
<value>https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.0.jar</value>
</data>
<data name="OpenApiGenerator_MD5" xml:space="preserve">
<value>cebbfd626e0b2e32509a4a34811c4dc6</value>
<value>4931bca886d30823b3ba2c7f36607925</value>
</data>
<data name="OpenApiGenerator_SHA1" xml:space="preserve">
<value>e9cc6e4cd2dcb77a86b647a1ed4352fd08f187ce</value>
<value>9261333ecbfd8738956b09be0beff611b47fbaff</value>
</data>
<data name="SwaggerCodegenCli_DownloadUrl" xml:space="preserve">
<value>https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.34/swagger-codegen-cli-3.0.34.jar</value>
Expand Down
4 changes: 2 additions & 2 deletions src/VSIX/ApiClientCodeGen.VSIX.Dev17/VSCommandTable.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</Button>
<Button guid="guidPackageCmdSet" id="OpenApiCodeGeneratorCustomToolSetter" priority="0x0101" type="Button">
<Strings>
<ButtonText>Generate with OpenAPI Generator (v7.10.0)</ButtonText>
<ButtonText>Generate with OpenAPI Generator (v7.11.0)</ButtonText>
</Strings>
</Button>
<Button guid="guidPackageCmdSet" id="KiotaCodeGeneratorCustomToolSetter" priority="0x0102" type="Button">
Expand Down Expand Up @@ -99,7 +99,7 @@
</Button>
<Button guid="guidNewRestApiClientCmdSet" id="GenerateWithOpenApi" priority="0x0102" type="Button">
<Strings>
<ButtonText>Generate with OpenAPI Generator (v7.10.0)</ButtonText>
<ButtonText>Generate with OpenAPI Generator (v7.11.0)</ButtonText>
</Strings>
</Button>
<Button guid="guidNewRestApiClientCmdSet" id="GenerateWithKiota" priority="0x0103" type="Button">
Expand Down
4 changes: 2 additions & 2 deletions src/VSIX/ApiClientCodeGen.VSIX/VSCommandTable.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</Button>
<Button guid="guidPackageCmdSet" id="OpenApiCodeGeneratorCustomToolSetter" priority="0x0101" type="Button">
<Strings>
<ButtonText>Generate with OpenAPI Generator (v7.10.0)</ButtonText>
<ButtonText>Generate with OpenAPI Generator (v7.11.0)</ButtonText>
</Strings>
</Button>
<Button guid="guidPackageCmdSet" id="KiotaCodeGeneratorCustomToolSetter" priority="0x0102" type="Button">
Expand Down Expand Up @@ -99,7 +99,7 @@
</Button>
<Button guid="guidNewRestApiClientCmdSet" id="GenerateWithOpenApi" priority="0x0102" type="Button">
<Strings>
<ButtonText>Generate with OpenAPI Generator (v7.10.0)</ButtonText>
<ButtonText>Generate with OpenAPI Generator (v7.11.0)</ButtonText>
</Strings>
</Button>
<Button guid="guidNewRestApiClientCmdSet" id="GenerateWithKiota" priority="0x0103" type="Button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.AddNewNSwagStudioCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.AddToProject.OpenApi"
_label = "Generate with OpenAPI Generator (v7.10.0)"
_label = "Generate with OpenAPI Generator (v7.11.0)"
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.AddNewOpenApiCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.AddToProject.Kiota"
Expand Down Expand Up @@ -64,7 +64,7 @@
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.GenerateNSwagStudioCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.GenerateCode.OpenApi"
_label = "Generate with OpenAPI Generator (v7.10.0)"
_label = "Generate with OpenAPI Generator (v7.11.0)"
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.GenerateOpenApiCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.GenerateCode.Kiota"
Expand Down

0 comments on commit 02029b7

Please sign in to comment.