Microsoft.AspNetCore.OpenApi 8.0.21

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.OpenApi --version 8.0.21
                    
NuGet\Install-Package Microsoft.AspNetCore.OpenApi -Version 8.0.21
                    
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="Microsoft.AspNetCore.OpenApi" Version="8.0.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.21" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.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 Microsoft.AspNetCore.OpenApi --version 8.0.21
                    
#r "nuget: Microsoft.AspNetCore.OpenApi, 8.0.21"
                    
#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 Microsoft.AspNetCore.OpenApi@8.0.21
                    
#: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=Microsoft.AspNetCore.OpenApi&version=8.0.21
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.OpenApi&version=8.0.21
                    
Install as a Cake Tool

Provides APIs for annotating route handler endpoints in ASP.NET Core with OpenAPI annotations.

This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/6254f5ca64f85b90327592dff67ea6b2ec0262c6

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 was computed.  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 was computed.  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 (597)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.OpenApi:

Package Downloads
Rystem.Api

Rystem.Api helps you to integrate Api Server and Automated Client for Aspect-Oriented programming.

Indice.AspNetCore

Package Description

AspNetCore.Simple.Sdk

This simple SDK contains following helpful optimizations: - ApiVersioning - Errorhandling with middleware - Logging with middleware - Query security filter - Optimized and simplified swagger. - Ready to go base class for startup.cs

devprime.stack.web

DevPrime Web

IntelliTect.Coalesce

Package Description

GitHub repositories (229)

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
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 RC 2, 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.
dotnet/eShop
A reference .NET application implementing an eCommerce site
RicoSuter/NSwag
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
AssetRipper/AssetRipper
GUI Application to work with engine assets, asset bundles, and serialized files
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
SciSharp/LLamaSharp
A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.
davidfowl/TodoApp
Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
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.
Arcenox-co/TickerQ
TickerQ is a fast, reflection-free background task scheduler for .NET — built with source generators, EF Core integration, cron + time-based execution, and a real-time dashboard.
microsoft/dotnet-podcasts
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
MicrosoftLearning/AZ-204-DevelopingSolutionsforMicrosoftAzure
AZ-204: Developing solutions for Microsoft Azure
Version Downloads Last Updated
10.0.0-rc.2.25502.107 24,680 10/14/2025
10.0.0-rc.1.25451.107 66,499 9/9/2025
10.0.0-preview.7.25380.108 20,046 8/12/2025
10.0.0-preview.6.25358.103 12,935 7/15/2025
10.0.0-preview.5.25277.114 23,018 6/6/2025
10.0.0-preview.4.25258.110 13,687 5/12/2025
10.0.0-preview.3.25172.1 9,992 4/10/2025
10.0.0-preview.2.25164.1 6,338 3/18/2025
10.0.0-preview.1.25120.3 5,753 2/25/2025
9.0.10 468,243 10/14/2025
9.0.9 1,542,189 9/9/2025
9.0.8 1,913,203 8/5/2025
9.0.7 1,436,830 7/8/2025
9.0.6 1,633,761 6/10/2025
9.0.5 2,886,253 5/13/2025
9.0.4 2,543,705 4/8/2025
9.0.3 2,208,058 3/11/2025
9.0.2 2,169,920 2/11/2025
9.0.1 1,864,283 1/14/2025
9.0.0 4,555,844 11/12/2024
9.0.0-rc.2.24474.3 80,396 10/8/2024
9.0.0-rc.1.24452.1 41,010 9/10/2024
9.0.0-preview.7.24406.2 16,484 8/13/2024
9.0.0-preview.6.24328.4 10,942 7/9/2024
9.0.0-preview.5.24306.11 13,994 6/11/2024
9.0.0-preview.4.24267.6 14,050 5/21/2024
9.0.0-preview.3.24172.13 13,801 4/11/2024
9.0.0-preview.2.24128.4 8,433 3/12/2024
9.0.0-preview.1.24081.5 13,816 2/13/2024
8.0.21 106,945 10/14/2025
8.0.20 372,374 9/9/2025
8.0.19 591,705 8/4/2025
8.0.18 472,264 7/8/2025
8.0.17 584,866 6/10/2025
8.0.16 648,090 5/13/2025
8.0.15 1,171,540 4/8/2025
8.0.14 1,165,142 3/11/2025
8.0.13 1,066,652 2/11/2025
8.0.12 1,254,257 1/14/2025
8.0.11 3,314,077 11/12/2024
8.0.10 4,824,781 10/8/2024
8.0.8 5,213,121 8/13/2024
8.0.7 3,607,647 7/9/2024
8.0.6 4,490,184 5/28/2024
8.0.5 1,768,164 5/14/2024
8.0.4 4,206,639 4/9/2024
8.0.3 3,471,137 3/12/2024
8.0.2 3,168,289 2/13/2024
8.0.1 3,935,896 1/9/2024
8.0.0 6,691,027 11/14/2023
8.0.0-rc.2.23480.2 107,451 10/10/2023
8.0.0-rc.1.23421.29 54,584 9/12/2023
8.0.0-preview.7.23375.9 73,120 8/8/2023
8.0.0-preview.6.23329.11 41,125 7/11/2023
8.0.0-preview.5.23302.2 18,541 6/13/2023
8.0.0-preview.4.23260.4 119,898 5/16/2023
8.0.0-preview.3.23177.8 21,683 4/11/2023
8.0.0-preview.2.23153.2 8,900 3/14/2023
8.0.0-preview.1.23112.2 6,489 2/21/2023
7.0.20 480,303 5/28/2024
7.0.19 157,264 5/14/2024
7.0.18 209,223 4/9/2024
7.0.17 174,557 3/12/2024
7.0.16 268,076 2/13/2024
7.0.15 412,557 1/9/2024
7.0.14 915,028 11/14/2023
7.0.13 1,412,992 10/24/2023
7.0.12 1,138,066 10/10/2023
7.0.11 1,606,524 9/12/2023
7.0.10 2,176,750 8/8/2023
7.0.9 1,913,396 7/11/2023
7.0.8 777,941 6/22/2023
7.0.7 1,226,364 6/13/2023
7.0.5 3,779,142 4/11/2023
7.0.4 1,674,572 3/14/2023
7.0.3 2,309,697 2/14/2023
7.0.2 1,681,460 1/10/2023
7.0.1 1,160,320 12/13/2022
7.0.0 2,146,351 11/7/2022
7.0.0-rc.2.22476.2 31,120 10/11/2022
7.0.0-rc.1.22427.2 27,343 9/14/2022
7.0.0-preview.7.22376.6 11,555 8/9/2022
7.0.0-preview.6.22330.3 9,344 7/12/2022
7.0.0-preview.5.22303.8 11,360 6/14/2022
7.0.0-preview.4.22251.1 8,389 5/10/2022