EonaCat.HttpClient.OpenApi.Generator
1.0.2
Prefix Reserved
dotnet tool install --global EonaCat.HttpClient.OpenApi.Generator --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local EonaCat.HttpClient.OpenApi.Generator --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=EonaCat.HttpClient.OpenApi.Generator&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package EonaCat.HttpClient.OpenApi.Generator --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EonaCatHttpClientOpenApiGenerator
EonaCatHttpClientOpenApiGenerator is a global dotnet tool used to generate EonaCat HttpClient client code from OpenApi schemas.
Installation
With .NET 5 installed run: dotnet tool install -g EonaCat.HttpClient.OpenApi.Generator
Usage
Typing EonaCat.HttpClient.OpenApi.Generator -h will display a list of parameters:
-uor--url- url to OpenApi json or yaml-for--file- path to OpenApi json or yaml local file-oor--outputDirectory- where to put the generated files- defaults to the current directory
-por--projectName- project name and root namespace- defaults to the output directory name
--groupByor--groupingStrategy- method of grouping paths into interfaces- defaults to
FirstTag - possible values
FirstTag- uses the first tag in the array for the given pathMostCommonTag- uses the most used tag, produces the smallest number of interfacesLeastCommonTag- uses the least used tag, produces the largest number of finely grained interfaces
- defaults to
-ror--removeIfExists- a flag which controls whether to delete the output directory if exists first--executable- generate a .NET 5 console app with a basic setup instead of .NET Standard 2.0 class library--ignoreAllHeaders- do not include any header parameters in the resulting code--ignoredHeaders- provide a list of headers to ignore, redundant if--ignoreAllHeadersflag is used--addEqualsNullToOptionalParameters- if a method parameter is optional, it is generated with a default value of null--conflictingNameAffix- adds an affix to a property if its name conflicts with the enclosing type name, not validated whether the resulting property name is a valid identifier- defaults to
Prop
- defaults to
--prefixConflictingName- if this flag is set, the--conflictingNameAffixwill be a prefix, otherwise it will be a suffix--skipDeprecatedProperties- if this flag is set, schema properties marked asDeprecatedare not included in the model
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.