Install
dotnet add package H.NSwag.Generator --version 1.1.12
| Product | Versions |
|---|---|
| .NET Standard |
README
H.NSwag.Generator
Generation via temp file is used here.
Nuget
Usage
<ItemGroup Label="Code Generation">
<AdditionalFiles Include="openapi.nswag" />
<PackageReference Include="H.NSwag.Generator" Version="1.0.10">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="NSwag.MSBuild" Version="13.9.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
Advanced usage
<PropertyGroup>
<!-- Optional. If the value is not specified, the runtime and the path to the exe file will be determined automatically. -->
<NSwagConsolePath>$(NSwagDir_Net50)dotnet-nswag.exe</NSwagConsolePath>
</PropertyGroup>
Contacts
Changes from Previous Version
No structural changes between v1.1.11 and v1.1.12.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.