PrincipleStudios.OpenApiCodegen.Server.Mvc
0.15.0
dotnet add package PrincipleStudios.OpenApiCodegen.Server.Mvc --version 0.15.0
NuGet\Install-Package PrincipleStudios.OpenApiCodegen.Server.Mvc -Version 0.15.0
<PackageReference Include="PrincipleStudios.OpenApiCodegen.Server.Mvc" Version="0.15.0" />
paket add PrincipleStudios.OpenApiCodegen.Server.Mvc --version 0.15.0
#r "nuget: PrincipleStudios.OpenApiCodegen.Server.Mvc, 0.15.0"
// Install PrincipleStudios.OpenApiCodegen.Server.Mvc as a Cake Addin #addin nuget:?package=PrincipleStudios.OpenApiCodegen.Server.Mvc&version=0.15.0 // Install PrincipleStudios.OpenApiCodegen.Server.Mvc as a Cake Tool #tool nuget:?package=PrincipleStudios.OpenApiCodegen.Server.Mvc&version=0.15.0
Adds source generators to generate C# controller base classes from an OpenAPI specification file.
Add this package, select the OpenAPI specification file from your project, and set the build action to OpenApiSchemaMvcServer
. Within that folder's namespace, you'll automatically get the model and controller classes to implement your interface.
A services.AddOpenApi...
extension method is added for use in your startup file to ensure you have all base controllers implemented.
This integrates during the build phase, so you can be sure your classes are up to date with your schema documentation.
Requirements:
- System.Text.Json
- C# 11+
- .NET 7
- Roslyn 4.0+ (VS 2022 or later, or other up-to-date Roslyn installation.)
This package no longer supports Newtonsoft.Json.
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.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.15.0 | 365 | 5/29/2024 |
0.14.3 | 18,085 | 9/7/2023 |
0.14.2 | 1,131 | 8/9/2023 |
0.14.1 | 715 | 6/15/2023 |
0.14.0 | 346 | 3/27/2023 |
0.13.1 | 3,103 | 11/3/2022 |
0.13.0 | 343 | 10/28/2022 |
0.12.0 | 399 | 9/29/2022 |
0.11.6 | 7,701 | 9/23/2022 |
0.11.5 | 470 | 7/19/2022 |
0.11.4 | 1,187 | 6/21/2022 |
0.11.3 | 443 | 5/12/2022 |
0.11.2 | 1,036 | 4/20/2022 |
0.11.1 | 435 | 4/19/2022 |
0.11.0 | 445 | 4/14/2022 |
0.10.4 | 459 | 4/12/2022 |
0.10.3 | 457 | 4/2/2022 |
0.10.2 | 473 | 2/2/2022 |
0.10.1 | 452 | 2/1/2022 |
0.10.0 | 770 | 1/18/2022 |
0.9.4 | 487 | 1/17/2022 |
0.9.3 | 449 | 1/17/2022 |
0.9.2 | 312 | 1/3/2022 |
0.9.1 | 294 | 12/4/2021 |
0.9.0 | 460 | 11/16/2021 |
0.8.3 | 562 | 7/3/2021 |
0.8.2 | 833 | 6/17/2021 |
0.8.1 | 424 | 6/11/2021 |
0.8.0 | 447 | 6/11/2021 |
0.7.1 | 369 | 5/31/2021 |
0.7.0 | 443 | 5/30/2021 |
0.6.0 | 379 | 5/2/2021 |
0.5.2 | 340 | 4/29/2021 |
0.5.1 | 364 | 4/27/2021 |
0.5.0 | 342 | 4/27/2021 |
0.4.0 | 331 | 4/26/2021 |
0.3.0 | 343 | 4/26/2021 |
0.2.3 | 360 | 4/26/2021 |
0.2.2 | 369 | 4/21/2021 |
0.2.1 | 348 | 4/21/2021 |
0.2.0 | 370 | 4/20/2021 |
0.2.0-alpha.8 | 181 | 4/20/2021 |
0.2.0-alpha.7 | 178 | 4/20/2021 |
0.2.0-alpha.6 | 172 | 4/20/2021 |
0.1.0-alpha.3 | 193 | 3/8/2021 |
0.1.0-alpha.2 | 180 | 2/16/2021 |
0.1.0-alpha.1 | 269 | 4/19/2020 |
0.0.1 | 689 | 3/7/2020 |