rapicgen 1.4.10
See the version list below for details.
dotnet tool install --global rapicgen --version 1.4.10
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local rapicgen --version 1.4.10
#tool dotnet:?package=rapicgen&version=1.4.10
nuke :add-package rapicgen --version 1.4.10
Cross Platform Command Line Tool
All custom tools mentioned above are also implemented in a cross platform command line application
Requirements
- .NET Core 2.1 runtime
- Java Runtime Environment
- NPM
Installation
The tool can be installed as a .NET Core global tool that you can call from the shell / command line
dotnet tool install --global rapicgen
or by following the instructions here to install a specific version of tool
Usage
Since the tool is published as a .NET Core Tool, it can be launched from anywhere using any command line interface by calling rapicgen. The help information is displayed when not specifying any arguments to rapicgen
Usage: run [options] [command]
Options:
-v|--verbose Show verbose output
-?|-h|--help Show help information
Commands:
autorest Generate Swagger / Open API client using AutoRest
nswag Generate Swagger / Open API client using NSwag
openapi Generate Swagger / Open API client using OpenAPI Generator
swagger Generate Swagger / Open API client using Swagger Codegen CLI
Run 'run [command] --help' for more information about a command.
Some help information is also provided per command and can be launched by
$ rapicgen [command name] -?
For example:
$ rapicgen autorest -?
will output this:
Generate Swagger / Open API client using AutoRest
Usage: run autorest [options] <swaggerFile> <namespace> <outputFile>
Arguments:
swaggerFile Path to the Swagger / Open API specification file
namespace Default namespace to in the generated code
outputFile Output filename to write the generated code to. Default is the swaggerFile .cs
Options:
-?|-h|--help Show help information
Usage Examples:
Let's say we have a OpenAPI Specifications document called Swagger.json
For starters, we can use the Swagger Petstore spec. Here's an example powershell script for downloading it
Invoke-WebRequest -Uri https://petstore.swagger.io/v2/swagger.json -OutFile Swagger.json
In case you don't have the CLI tool installed you can install it by
dotnet tool install --global rapicgen
Here's an example of how to generate code using AutoRest
$ rapicgen autorest Swagger.json GeneratedCode ./AutoRestOutput.cs
Here's an example of how to generate code using NSwag
$ rapicgen nswag Swagger.json GeneratedCode ./NSwagOutput.cs
Here's an example of how to generate code using Swagger Codegen CLI
$ rapicgen swagger Swagger.json GeneratedCode ./SwaggerOutput.cs
And last but but not the least, here's an example of how to generate code using OpenAPI Generator
$ rapicgen openapi Swagger.json GeneratedCode ./OpenApiOutput.cs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.9.8 | 8,646 | 3/11/2024 |
1.9.7 | 474 | 3/10/2024 |
1.9.6 | 22,986 | 2/8/2024 |
1.9.5 | 1,274 | 2/4/2024 |
1.9.4 | 60,299 | 1/13/2024 |
1.9.3 | 28,982 | 1/10/2024 |
1.9.2 | 65,770 | 12/24/2023 |
1.9.1 | 6,874 | 12/14/2023 |
1.9.0 | 7,779 | 12/10/2023 |
1.8.10 | 52,894 | 11/13/2023 |
1.8.9 | 1,525 | 11/10/2023 |
1.8.8 | 1,819 | 11/5/2023 |
1.8.7 | 8,096 | 10/6/2023 |
1.8.6 | 4,345 | 9/22/2023 |
1.8.5 | 3,794 | 9/11/2023 |
1.8.4 | 1,494 | 9/9/2023 |
1.8.3 | 2,296 | 9/4/2023 |
1.8.2 | 2,908 | 8/27/2023 |
1.8.1 | 5,405 | 8/9/2023 |
1.8.0 | 2,553 | 8/4/2023 |
1.7.18 | 5,756 | 7/16/2023 |
1.7.17 | 7,962 | 6/17/2023 |
1.7.16 | 2,469 | 6/11/2023 |
1.7.15 | 6,635 | 5/17/2023 |
1.7.14 | 2,302 | 5/12/2023 |
1.7.13 | 4,305 | 4/30/2023 |
1.7.12 | 3,570 | 4/19/2023 |
1.7.11 | 1,549 | 4/18/2023 |
1.7.10 | 1,233 | 4/18/2023 |
1.7.9 | 3,591 | 4/7/2023 |
1.7.8 | 2,385 | 4/2/2023 |
1.7.7 | 4,518 | 3/19/2023 |
1.7.6 | 1,344 | 3/19/2023 |
1.7.5 | 1,037 | 3/19/2023 |
1.7.4 | 2,278 | 3/15/2023 |
1.7.3 | 2,729 | 3/10/2023 |
1.7.2 | 1,890 | 3/7/2023 |
1.7.1 | 2,895 | 3/1/2023 |
1.7.0 | 1,844 | 2/27/2023 |
1.6.98 | 3,231 | 2/19/2023 |
1.6.97 | 2,945 | 2/14/2023 |
1.6.96 | 2,754 | 2/8/2023 |
1.6.95 | 1,620 | 2/7/2023 |
1.6.94 | 2,342 | 2/3/2023 |
1.6.93 | 1,664 | 2/2/2023 |
1.6.92 | 2,301 | 1/30/2023 |
1.6.91 | 2,171 | 1/27/2023 |
1.6.90 | 1,383 | 1/27/2023 |
1.6.89 | 3,264 | 1/22/2023 |
1.6.88 | 1,819 | 1/22/2023 |
1.6.86 | 5,965 | 1/5/2023 |
1.6.85 | 1,765 | 1/5/2023 |
1.6.80 | 3,666 | 12/29/2022 |
1.6.79 | 4,411 | 12/17/2022 |
1.6.78 | 6,371 | 11/28/2022 |
1.6.77 | 1,894 | 11/28/2022 |
1.6.76 | 1,906 | 11/28/2022 |
1.6.75 | 1,613 | 11/28/2022 |
1.6.74 | 1,494 | 11/28/2022 |
1.6.73 | 1,667 | 11/28/2022 |
1.5.72 | 6,813 | 11/2/2022 |
1.5.71 | 2,586 | 10/29/2022 |
1.5.70 | 2,976 | 10/22/2022 |
1.5.69 | 4,530 | 10/9/2022 |
1.5.68 | 1,950 | 10/9/2022 |
1.5.67 | 9,121 | 9/1/2022 |
1.5.66 | 2,174 | 8/29/2022 |
1.5.65 | 1,720 | 8/28/2022 |
1.5.64 | 2,384 | 8/24/2022 |
1.5.63 | 2,595 | 8/20/2022 |
1.5.62 | 2,230 | 8/18/2022 |
1.5.61 | 1,549 | 8/18/2022 |
1.5.60 | 3,296 | 8/12/2022 |
1.5.59 | 1,923 | 8/10/2022 |
1.5.58 | 1,789 | 8/10/2022 |
1.5.57 | 1,898 | 8/10/2022 |
1.5.56 | 1,611 | 8/10/2022 |
1.5.55 | 1,528 | 8/10/2022 |
1.5.54 | 1,684 | 8/10/2022 |
1.5.51 | 2,255 | 8/6/2022 |
1.5.50 | 6,732 | 7/5/2022 |
1.5.49 | 3,874 | 6/19/2022 |
1.5.48 | 3,935 | 6/7/2022 |
1.5.47 | 12,384 | 3/4/2022 |
1.5.46 | 3,786 | 2/17/2022 |
1.5.45 | 1,844 | 2/13/2022 |
1.5.44 | 4,021 | 1/23/2022 |
1.4.43 | 1,821 | 1/23/2022 |
1.4.42 | 1,729 | 1/22/2022 |
1.4.41 | 3,971 | 12/26/2021 |
1.4.40 | 1,640 | 12/26/2021 |
1.4.39 | 2,118 | 12/18/2021 |
1.4.38 | 2,532 | 12/11/2021 |
1.4.37 | 2,195 | 12/4/2021 |
1.4.36 | 1,810 | 11/30/2021 |
1.4.35 | 1,863 | 11/27/2021 |
1.4.34 | 2,740 | 11/21/2021 |
1.4.33 | 2,646 | 11/16/2021 |
1.4.32 | 1,711 | 11/15/2021 |
1.4.31 | 1,611 | 11/15/2021 |
1.4.30 | 6,303 | 10/22/2021 |
1.4.10 | 4,970 | 10/2/2021 |
1.4.9 | 1,933 | 10/2/2021 |
1.4.8 | 1,488 | 10/2/2021 |
1.4.7 | 1,657 | 10/2/2021 |
1.4.6 | 1,719 | 10/2/2021 |
1.4.5 | 1,547 | 10/2/2021 |
1.3.7741 | 7,562 | 8/29/2021 |
1.3.7613 | 4,520 | 8/16/2021 |
1.2.7536 | 3,292 | 8/7/2021 |
1.2.7037 | 14,005 | 6/12/2021 |
1.2.6859 | 6,696 | 5/21/2021 |
1.2.6685 | 6,094 | 5/1/2021 |
1.2.6442 | 5,900 | 4/13/2021 |
1.2.6432 | 1,762 | 4/12/2021 |
1.2.6359 | 3,570 | 4/5/2021 |
1.2.6274 | 2,698 | 4/1/2021 |
1.2.6222 | 2,238 | 3/28/2021 |
1.2.6213 | 2,170 | 3/26/2021 |
1.2.6153 | 3,065 | 3/20/2021 |
1.2.6142 | 2,027 | 3/19/2021 |
1.2.5901 | 6,693 | 3/1/2021 |
1.1.4934 | 2,903 | 1/10/2021 |
1.1.4697 | 2,071 | 12/26/2020 |
1.1.4559 | 1,730 | 12/16/2020 |
1.1.4470 | 1,637 | 12/12/2020 |
1.1.4142 | 2,144 | 12/3/2020 |
1.1.3189 | 2,583 | 11/11/2020 |
1.1.3147 | 1,946 | 11/7/2020 |
1.1.3012 | 2,194 | 10/31/2020 |
1.1.2795 | 1,673 | 10/22/2020 |
1.1.2631 | 1,835 | 10/13/2020 |
1.1.2531 | 1,725 | 9/27/2020 |
1.1.2400 | 1,968 | 9/2/2020 |
1.1.2394 | 2,031 | 9/1/2020 |
1.1.2301 | 1,987 | 8/18/2020 |
1.1.2039 | 1,842 | 6/15/2020 |
1.1.2007 | 1,967 | 6/3/2020 |
1.1.1943 | 1,800 | 5/21/2020 |
1.1.1895 | 1,880 | 5/11/2020 |
1.1.1852 | 1,809 | 5/4/2020 |
1.1.1823 | 1,900 | 4/26/2020 |
1.1.1784 | 1,968 | 4/21/2020 |
1.1.1715 | 1,766 | 4/6/2020 |
1.1.1682 | 1,746 | 3/29/2020 |
1.1.1586 | 1,960 | 3/22/2020 |
1.1.1549 | 1,834 | 3/16/2020 |
1.1.1318 | 1,885 | 3/3/2020 |
1.1.1152 | 1,886 | 2/17/2020 |
1.1.1067 | 2,180 | 2/10/2020 |
1.1.1003 | 1,837 | 2/7/2020 |
1.1.788 | 2,150 | 1/17/2020 |
1.1.778 | 2,278 | 1/4/2020 |
1.1.775 | 2,250 | 12/19/2019 |
1.1.753 | 1,873 | 12/2/2019 |
1.1.742 | 2,022 | 11/24/2019 |
1.1.741 | 1,893 | 11/21/2019 |
1.1.740 | 2,107 | 11/21/2019 |
1.1.738 | 1,967 | 11/21/2019 |
1.1.737 | 2,043 | 11/21/2019 |
1.0.0 | 2,188 | 11/21/2019 |