OpenApiGenerator 0.1.3

dotnet add package OpenApiGenerator --version 0.1.3
NuGet\Install-Package OpenApiGenerator -Version 0.1.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenApiGenerator" Version="0.1.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenApiGenerator --version 0.1.3
#r "nuget: OpenApiGenerator, 0.1.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenApiGenerator as a Cake Addin
#addin nuget:?package=OpenApiGenerator&version=0.1.3

// Install OpenApiGenerator as a Cake Tool
#tool nuget:?package=OpenApiGenerator&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
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .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.1.3 285 1/8/2024
0.1.2 159 1/8/2024
0.1.1 126 1/8/2024
0.1.0-dev.37 60 1/8/2024
0.1.0-dev.35 60 1/8/2024
0.1.0-dev.34 49 1/8/2024
0.1.0-dev.33 53 1/7/2024
0.1.0-dev.10 110 12/6/2023
0.1.0-dev.5 63 12/4/2023
0.1.0-dev.4 62 11/27/2023
0.1.0-dev.3 54 11/25/2023

⭐ 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