Microsoft.OpenApi 1.2.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.0 .NET Framework 4.6
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.OpenApi --version 1.2.2
NuGet\Install-Package Microsoft.OpenApi -Version 1.2.2
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.OpenApi" Version="1.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.OpenApi --version 1.2.2
#r "nuget: Microsoft.OpenApi, 1.2.2"
#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.
// Install Microsoft.OpenApi as a Cake Addin
#addin nuget:?package=Microsoft.OpenApi&version=1.2.2

// Install Microsoft.OpenApi as a Cake Tool
#tool nuget:?package=Microsoft.OpenApi&version=1.2.2

.NET models with JSON and YAML writers for OpenAPI specification

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (187)

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

Package Downloads

Middleware to expose Swagger JSON endpoints from APIs built on ASP.NET Core


Some additional useful filters for Swashbuckle.AspNetCore. This package replaces Swashbuckle.AspNetCore.Examples.

Microsoft.OpenApi.Readers The ID prefix of this package has been reserved for one of the owners of this package by

OpenAPI.NET Readers for JSON and YAML documents

Microsoft.Azure.WebJobs.Extensions.OpenApi.Core The ID prefix of this package has been reserved for one of the owners of this package by

This package helps render OpenAPI document and Swagger UI of Azure Functions endpoints through the in-process worker.

Microsoft.AspNetCore.OpenApi The ID prefix of this package has been reserved for one of the owners of this package by

Provides APIs for annotating route handler endpoints in ASP.NET Core with OpenAPI annotations. This package was built from the source code at

GitHub repositories (29)

Showing the top 5 popular GitHub repositories that depend on Microsoft.OpenApi:

Repository Stars
Integrate cutting-edge LLM technology quickly and easily into your apps
Swagger tools for documenting API's built on ASP.NET Core
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
Repo for ASP.NET experiments that are not ready for a production release
Version Downloads Last updated
1.6.4 109,616 5/4/2023
1.6.4-preview4 2,501 4/17/2023
1.6.4-preview3 283 4/12/2023
1.6.4-preview2 1,391 4/11/2023
1.6.4-preview1 2,923 3/30/2023
1.6.3 433,862 3/7/2023
1.6.2 197,155 2/21/2023
1.6.1 104,135 2/13/2023
1.6.0 155,145 1/31/2023
1.5.0 171,499 1/17/2023
1.4.5 712,192 12/6/2022
1.4.4 206,721 11/21/2022
1.4.4-preview1 5,395 10/6/2022
1.4.3 3,152,555 9/26/2022
1.4.2 284,207 9/12/2022
1.4.1 65,959 9/7/2022
1.4.0 119,054 9/2/2022
1.4.0-preview3 140 9/2/2022
1.4.0-preview2 3,844 8/15/2022
1.4.0-preview1 3,485 8/1/2022
1.3.2 1,412,317 6/23/2022
1.3.1 7,393,952 4/13/2022
1.3.1-preview6 635 4/10/2022
1.3.1-preview5 13,380 3/3/2022
1.3.1-preview4 11,719 2/8/2022
1.3.1-preview3 306 2/3/2022
1.3.1-preview2 3,931 1/23/2022
1.3.1-preview 16,427 11/25/2021
1.3.0-preview 201,023 5/25/2021
1.2.3 216,286,876 8/29/2020
1.2.2 7,636,774 6/25/2020
1.2.1 1,464 6/24/2020
1.2.0 32,505 6/14/2020
1.2.0-preview.3 9,027 4/2/2020
1.2.0-preview.2 4,139 3/9/2020
1.2.0-preview 3,145 1/20/2020
1.1.4 73,241,078 9/15/2019
1.1.3 1,617,295 4/19/2019
1.1.2 1,060,010 12/13/2018
1.1.1 11,364,615 10/24/2018
1.1.0 75,370 8/16/2018
1.1.0-preview.4 1,221 7/18/2018
1.1.0-preview.3 5,831 6/14/2018
1.1.0-preview.2 801 6/7/2018
1.1.0-preview.1 777 5/25/2018
1.0.1 13,004 5/25/2018
1.0.0 18,738 5/8/2018
1.0.0-beta017 1,192 5/2/2018
1.0.0-beta016 2,116 4/8/2018
1.0.0-beta015 1,558 3/21/2018
1.0.0-beta014 4,193 2/13/2018
1.0.0-beta013 1,074 1/31/2018
1.0.0-beta012 1,293 1/24/2018
1.0.0-beta011 1,460 1/16/2018
1.0.0-beta010 1,062 1/11/2018
1.0.0-beta009 1,430 12/20/2017
1.0.0-beta008 1,224 12/14/2017