![]() |
VOOZH | about |
dotnet add package Microsoft.AspNetCore.OpenApi --version 10.0.9
NuGet\Install-Package Microsoft.AspNetCore.OpenApi -Version 10.0.9
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.9" />
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="10.0.9" />Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />Project file
paket add Microsoft.AspNetCore.OpenApi --version 10.0.9
#r "nuget: Microsoft.AspNetCore.OpenApi, 10.0.9"
#:package Microsoft.AspNetCore.OpenApi@10.0.9
#addin nuget:?package=Microsoft.AspNetCore.OpenApi&version=10.0.9Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.OpenApi&version=10.0.9Install as a Cake Tool
Microsoft.AspNetCore.OpenApi is a NuGet package that provides built-in support for generating OpenAPI documents from minimal or controller-based APIs in ASP.NET Core.
/openapi/{documentName}.json)To start using Microsoft.AspNetCore.OpenApi in your ASP.NET Core application, follow these steps:
dotnet add package Microsoft.AspNetCore.OpenApi
In your Program.cs file, register the services provided by this package in the DI container and map the provided OpenAPI document endpoint in the application.
var builder = WebApplication.CreateBuilder();
// Registers the required services
builder.Services.AddOpenApi();
var app = builder.Build();
// Adds the /openapi/{documentName}.json endpoint to the application
app.MapOpenApi();
app.Run();
For more information on configuring and using Microsoft.AspNetCore.OpenApi, refer to the official documentation.
The main types provided by this library are:
OpenApiOptions: Options for configuring OpenAPI document generation.IDocumentTransformer: Transformer that modifies the OpenAPI document generated by the library.Microsoft.AspNetCore.OpenApi is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.OpenApi:
| Package | Downloads |
|---|---|
|
MassTransit.AspNetCore
MassTransit AspNetCore Support, including Dashboard; MassTransit provides a developer-focused, modern platform for creating distributed applications without complexity. |
|
|
Umbraco.Cms
Installs Umbraco CMS with all default dependencies in your ASP.NET Core project. |
|
|
Rystem.Api
Rystem.Api helps you to integrate Api Server and Automated Client for Aspect-Oriented programming. |
|
|
Umbraco.Cms.StaticAssets
Contains the static assets needed to run Umbraco CMS. |
|
|
Umbraco.Cms.Api.Common
Contains the bits and pieces that are shared between the Umbraco CMS APIs. |
Showing the top 20 popular GitHub repositories that depend on Microsoft.AspNetCore.OpenApi:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
|
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
|
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
|
dotnet/eShop
A reference .NET application implementing an eCommerce site
|
|
|
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 11, 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
|
|
|
AssetRipper/AssetRipper
GUI application to analyze game files
|
|
|
RicoSuter/NSwag
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
|
|
|
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 10 Starter Kit (Web API + React Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
|
|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
|
|
|
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
|
|
|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
|
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
|
|
|
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
|
|
|
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
|
|
|
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
|
|
|
dotnet/maui-samples
Samples for .NET Multi-Platform App UI (.NET MAUI)
|
|
|
martinothamar/Mediator
A high performance implementation of Mediator pattern in .NET using source generators.
|
|
|
evolutionary-architecture/evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.5.26302.115 | 2,454 | 6/9/2026 |
| 11.0.0-preview.4.26230.115 | 8,159 | 5/12/2026 |
| 11.0.0-preview.3.26207.106 | 10,686 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 8,707 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 5,932 | 2/10/2026 |
| 10.0.9 | 446,148 | 6/9/2026 |
| 10.0.8 | 2,741,821 | 5/12/2026 |
| 10.0.7 | 3,566,564 | 4/21/2026 |
| 10.0.6 | 1,146,765 | 4/14/2026 |
| 10.0.5 | 4,300,470 | 3/12/2026 |
| 10.0.4 | 641,421 | 3/10/2026 |
| 9.0.17 | 28,346 | 6/9/2026 |
| 9.0.16 | 161,635 | 5/12/2026 |
| 9.0.15 | 296,993 | 4/14/2026 |
| 9.0.14 | 459,173 | 3/10/2026 |
| 9.0.13 | 560,670 | 2/10/2026 |
| 8.0.28 | 35,513 | 6/9/2026 |
| 8.0.27 | 165,062 | 5/12/2026 |
| 8.0.26 | 249,732 | 4/14/2026 |
| 8.0.25 | 394,281 | 3/10/2026 |