OpenApiGenerator.Core
0.1.3
dotnet add package OpenApiGenerator.Core --version 0.1.3
NuGet\Install-Package OpenApiGenerator.Core -Version 0.1.3
<PackageReference Include="OpenApiGenerator.Core" Version="0.1.3" />
paket add OpenApiGenerator.Core --version 0.1.3
#r "nuget: OpenApiGenerator.Core, 0.1.3"
// Install OpenApiGenerator.Core as a Cake Addin
#addin nuget:?package=OpenApiGenerator.Core&version=0.1.3
// Install OpenApiGenerator.Core as a Cake Tool
#tool nuget:?package=OpenApiGenerator.Core&version=0.1.3
OpenApiGenerator
Allows you to partially (for example, only models) or completely generate a native (without dependencies) C# client sdk according to the OpenAPI specification.
Inspired by NSwag
🔥Features🔥
- Uses Incremental Source Generators for efficient generation and caching.
- Detects your TargetFramework and generates optimal code for it (including net6.0/net7.0/net8.0 improvements)
- Supports .Net Framework/.Net Standard
- Does not contain dependencies for modern versions of dotnet
- Only System.Text.Json dependency for .Net Framework/.Net Standard
- Any generated methods provide the ability to pass a CancellationToken
- Allows partial generation (models only) or end points filtering
- Available under MIT license for general users and most organizations
- Uses https://github.com/microsoft/OpenAPI.NET for parsing OpenAPI specification
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
- Microsoft.OpenApi.Readers (>= 1.6.11)
- System.Collections.Immutable (>= 8.0.0)
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.1.3 | 91 | 4/5/2024 |
⭐ Last 10 features:
- feat: Added support for OpenAI.CreateModerationResponse. 2024-01-08
- feat: Added initial endpoints generation. 2024-01-08
- feat: New array is IList by default. 2023-12-22
- feat: Now NamingConvention.ConcatNames is default. 2023-12-22
- feat: Unified naming. 2023-12-22
- feat: Added NamingConvention. 2023-12-22
- feat: Added multi-level classes. 2023-12-07
- feat: Added generation of references items for IncludeModels property. 2023-12-07
- feat: Added <br/> for xml docs. 2023-12-07
- feat: Added initial AnyOf/OneOf/AllOf by object support. 2023-12-07
🐞 Last 10 bug fixes:
- fix: Try to do models public. 2024-01-08
- fix: Try to use IsExternalInit. 2024-01-08
- fix: Try fixed version. 2024-01-08
- fix: Update dll paths in OpenApiGenerator project 2024-01-08
- fix: Try to use fixed assemblies. 2024-01-08
- fix: Commented NSwag code and packages. 2024-01-08
- fix: Removed Enum from Enum names. 2023-12-22
- fix: Fixed some _ in names. 2023-12-20
- fix: Make AnyOf types as readonly. 2023-12-07
- fix: Fixed arrays. 2023-12-06