Skip to content

Commit

Permalink
Update Refitter to v0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelle committed Jun 23, 2023
1 parent 7e3f3d6 commit b054a6f
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The output file is the result of merging all the files generated using the Swagg
The resulting file is the equivalent of using the AutoRest CLI tool with:+
` --csharp --input-file=[swagger file] --output-file=[output file] --namespace=[default namespace] --add-credentials`

- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.1**.
- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.2**.
The output file contains a Refit interface generated by [Refitter](https://github.com/christianhelle/refitter) and contracts generated using [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/)


Expand Down Expand Up @@ -296,7 +296,7 @@ Commands:
kiota Microsoft project Kiota (v1.3.0)
nswag NSwag (v13.19.0)
openapi OpenAPI Generator (v6.6.0)
refitter Refitter (v0.6.1)
refitter Refitter (v0.6.2)
swagger Swagger Codegen CLI (v3.0.34)
Run 'csharp [command] -?|-h|--help' for more information about a command.
Expand Down
2 changes: 1 addition & 1 deletion docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Commands:
kiota Microsoft project Kiota (v1.3.0)
nswag NSwag (v13.19.0)
openapi OpenAPI Generator (v6.6.0)
refitter Refitter (v0.6.1)
refitter Refitter (v0.6.2)
swagger Swagger Codegen CLI (v3.0.34)
Run 'csharp [command] -?|-h|--help' for more information about a command.
Expand Down
2 changes: 1 addition & 1 deletion docs/Marketplace.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The output file is the result of merging all the files generated using the Swagg
The resulting file is the equivalent of using the AutoRest CLI tool with:
` --csharp --input-file=[swagger file] --output-file=[output file] --namespace=[default namespace] --add-credentials`

- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.1**.
- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.2**.
The output file contains a Refit interface generated by [Refitter](https://github.com/christianhelle/refitter) and contracts generated using [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/)


Expand Down
2 changes: 1 addition & 1 deletion docs/Marketplace2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The output file is the result of merging all the files generated using the Swagg
The resulting file is the equivalent of using the AutoRest CLI tool with:
` --csharp --input-file=[swagger file] --output-file=[output file] --namespace=[default namespace] --add-credentials`

- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.1**.
- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.2**.
The output file contains a Refit interface generated by [Refitter](https://github.com/christianhelle/refitter) and contracts generated using [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/)


Expand Down
2 changes: 1 addition & 1 deletion docs/VisualStudioForMac.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The output file is the result of merging all the files generated using the Swagg
The output file is the result of merging all the files generated using the OpenAPI Generator tool with:
` generate -g csharp --input-spec [swaggerFile] --output [output] -DapiTests=false -DmodelTests=false -DpackageName=[namespace] --skip-overwrite`

- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.1**.
- ***RefitterCodeGenerator*** - Generates a single file C# REST API Client inteface for [Refit](https://github.com/reactiveui/refit) using [Refitter.Core](https://github.com/christianhelle/refitter) [nuget package](https://www.nuget.org/packages/Refitter.Core/) **v0.6.2**.
The output file contains a Refit interface generated by [Refitter](https://github.com/christianhelle/refitter) and contracts generated using [NSwag.CodeGeneration.CSharp](https://github.com/RSuter/NSwag/wiki/CSharpClientGenerator) [nuget package](https://www.nuget.org/packages/NSwag.CodeGeneration.CSharp/)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Rapicgen.CLI.Commands.CSharp;

[Command("refitter", Description = "Refitter (v0.6.1)")]
[Command("refitter", Description = "Refitter (v0.6.2)")]
public class RefitterCommand : CodeGeneratorCommand
{
private readonly IRefitterCodeGeneratorFactory factory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ public string GenerateCode(IProgressReporter? pGenerateProgress)
return GeneratedCode.PrefixAutogeneratedCodeHeader(
code,
"Refitter",
"v0.6.1");
"v0.6.2");
}
}
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 @@ -59,7 +59,7 @@
</Button>
<Button guid="guidPackageCmdSet" id="RefitterCodeGeneratorCustomToolSetter" priority="0x0105" type="Button">
<Strings>
<ButtonText>Generate with Rifitter (v0.6.1)</ButtonText>
<ButtonText>Generate with Rifitter (v0.6.2)</ButtonText>
</Strings>
</Button>

Expand Down Expand Up @@ -103,7 +103,7 @@
</Button>
<Button guid="guidNewRestApiClientCmdSet" id="GenerateWithRefitter" priority="0x0106" type="Button">
<Strings>
<ButtonText>Generate with Refitter (v0.6.1)</ButtonText>
<ButtonText>Generate with Refitter (v0.6.2)</ButtonText>
</Strings>
</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 @@ -59,7 +59,7 @@
</Button>
<Button guid="guidPackageCmdSet" id="RefitterCodeGeneratorCustomToolSetter" priority="0x0105" type="Button">
<Strings>
<ButtonText>Generate with Rifitter (v0.6.1)</ButtonText>
<ButtonText>Generate with Rifitter (v0.6.2)</ButtonText>
</Strings>
</Button>

Expand Down Expand Up @@ -103,7 +103,7 @@
</Button>
<Button guid="guidNewRestApiClientCmdSet" id="GenerateWithRefitter" priority="0x0106" type="Button">
<Strings>
<ButtonText>Generate with Refitter (v0.6.1)</ButtonText>
<ButtonText>Generate with Refitter (v0.6.2)</ButtonText>
</Strings>
</Button>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.AddNewKiotaCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.AddToProject.Refitter"
_label = "Generate with Refitter (v0.6.1)"
_label = "Generate with Refitter (v0.6.2)"
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.AddNewRefitterCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.AddToProject.Swagger"
Expand Down Expand Up @@ -72,7 +72,7 @@
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.GenerateKiotaCommandHandler" />

<Command id = "ApiClientCodeGen.VSMac.Commands.GenerateCode.Refitter"
_label = "Generate with Refitter (v0.6.1)"
_label = "Generate with Refitter (v0.6.2)"
defaultHandler="ApiClientCodeGen.VSMac.Commands.Handlers.GenerateRefitterCommandHandler" />

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

0 comments on commit b054a6f

Please sign in to comment.