IkeMtz.AspNetCore.OpenApi
10.0.13.6
dotnet add package IkeMtz.AspNetCore.OpenApi --version 10.0.13.6
NuGet\Install-Package IkeMtz.AspNetCore.OpenApi -Version 10.0.13.6
<PackageReference Include="IkeMtz.AspNetCore.OpenApi" Version="10.0.13.6" />
<PackageVersion Include="IkeMtz.AspNetCore.OpenApi" Version="10.0.13.6" />
<PackageReference Include="IkeMtz.AspNetCore.OpenApi" />
paket add IkeMtz.AspNetCore.OpenApi --version 10.0.13.6
#r "nuget: IkeMtz.AspNetCore.OpenApi, 10.0.13.6"
#:package IkeMtz.AspNetCore.OpenApi@10.0.13.6
#addin nuget:?package=IkeMtz.AspNetCore.OpenApi&version=10.0.13.6
#tool nuget:?package=IkeMtz.AspNetCore.OpenApi&version=10.0.13.6
About
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.
Key Features
- Supports viewing generated OpenAPI documents at runtime via a parameterized endpoint (
/openapi/{documentName}.json) - Supports generating an OpenAPI document at build-time
- Supports customizing the generated document via document transformers
How to Use
To start using Microsoft.AspNetCore.OpenApi in your ASP.NET Core application, follow these steps:
Installation
dotnet add package Microsoft.AspNetCore.OpenApi
Configuration
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.
Main Types
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.
Feedback & Contributing
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 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. |
-
net10.0
- IkeMtz.AspNetCore.Http.Results (>= 10.0.13.6)
- Microsoft.AspNetCore (>= 2.3.13)
- Microsoft.AspNetCore.Authentication.Abstractions (>= 2.3.13)
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.3.13)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.13)
- Microsoft.AspNetCore.Http.Extensions (>= 2.3.13)
- Microsoft.AspNetCore.Mvc.ApiExplorer (>= 2.3.13)
- Microsoft.AspNetCore.Mvc.Core (>= 2.3.13)
- Microsoft.AspNetCore.Routing (>= 2.3.13)
- Microsoft.OpenApi (>= 2.12.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on IkeMtz.AspNetCore.OpenApi:
| Package | Downloads |
|---|---|
|
IkeMtz.NRSRx.Core.Web
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.13.6 | 958 | 10/19/2026 |
| 10.0.13.5 | 91 | 10/19/2026 |
| 10.0.13.4 | 92 | 10/19/2026 |
| 10.0.13.2-dev | 84 | 10/14/2026 |
| 10.0.13-dev | 90 | 10/14/2026 |
| 10.0.12-dev | 91 | 10/14/2026 |