Microsoft.AspNetCore.OpenApi
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/e1ad9117a4dac3b0f5f2a7e2b10b43b7016379b9
Install
dotnet add package Microsoft.AspNetCore.OpenApi --version 9.0.0-preview.2.24128.4
Install-Package Microsoft.AspNetCore.OpenApi -Version 9.0.0-preview.2.24128.4
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0-preview.2.24128.4" />
Frameworks
Dependencies
Adoption guide
Teams staying close to first-party ASP.NET Core primitives and minimal external framework layering.
This version is marked prerelease. Validate its API and upgrade path before production use.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.