Genocs.WebApi.OpenApi 9.1.0

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 5.0.0 or higher.

dotnet add package Genocs.WebApi.OpenApi --version 9.1.0
                    
NuGet\Install-Package Genocs.WebApi.OpenApi -Version 9.1.0
                    
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="Genocs.WebApi.OpenApi" Version="9.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Genocs.WebApi.OpenApi" Version="9.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Genocs.WebApi.OpenApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Genocs.WebApi.OpenApi --version 9.1.0
                    
#r "nuget: Genocs.WebApi.OpenApi, 9.1.0"
                    
#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.
#:package Genocs.WebApi.OpenApi@9.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Genocs.WebApi.OpenApi&version=9.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Genocs.WebApi.OpenApi&version=9.1.0
                    
Install as a Cake Tool

Genocs OpenApi

Genocs Library Banner

Swagger/OpenAPI integration for documenting Genocs Web APIs. Supports net10.0, net9.0, and net8.0.

Installation

dotnet add package Genocs.WebApi.OpenApi

Getting Started

Use this package to register OpenAPI generation and expose Swagger UI/document endpoints in Web API hosts.

Main Entry Points

  • AddOpenApiDocs
  • UseOpenApiDocs

Fluent Builder Coverage

IOpenApiOptionsBuilder supports the complete OpenApiOptions surface, including:

  • API metadata: name, title, version, description, route prefix
  • contact metadata: name, email, and URL
  • license metadata: name and URL
  • terms of service URL/text
  • server list via WithServers(...) or AddServer(...)
  • security inclusion via IncludeSecurity(...)

Maintainer Validation

Use these commands to validate package-local quality gates:

dotnet build src/Genocs.WebApi.OpenApi/Genocs.WebApi.OpenApi.csproj -f net10.0 -c Debug --nologo -warnaserror -p:BuildProjectReferences=false
dotnet test src/tests/Genocs.WebApi.OpenApi.UnitTests/Genocs.WebApi.OpenApi.UnitTests.csproj -c Debug --nologo
make validate-webapi-openapi

Support

Release Notes

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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 is compatible.  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.

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
9.2.0-beta03 65 11/25/2026
9.2.0-beta02 98 11/14/2026
9.2.0-beta01 105 11/14/2026
9.1.0 138 11/7/2026
9.1.0-beta05 93 11/7/2026
9.1.0-beta04 99 11/4/2026
9.1.0-beta03 96 11/4/2026
9.1.0-beta02 117 10/24/2026
9.1.0-beta01 120 10/23/2026
9.0.2 252 9/1/2026
9.0.1 244 7/18/2026
9.0.0 345 5/21/2026
9.0.0-beta009 168 5/11/2026
9.0.0-beta008 330 5/2/2026
9.0.0-beta007 158 4/29/2026
9.0.0-beta006 155 4/27/2026
9.0.0-beta005 156 4/26/2026
9.0.0-beta004 154 4/18/2026
9.0.0-beta003 168 4/5/2026
9.0.0-beta002 163 3/17/2026
Loading failed

The change log and breaking changes are listed here.
           https://github.com/Genocs/genocs-library/releases