# OpenAPI.NET

> A .NET object model for OpenAPI documents, with JSON and YAML readers and writers

Source: https://talira.ai/catalog/openapi-net-4jzksb4x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / api / specification parsing](https://talira.ai/categories/developer-tools/api/specification-parsing), [languages / dotnet](https://talira.ai/categories/languages/dotnet)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Supports: [OpenAPI](https://talira.ai/standards/openapi.md)[^2]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^3]

OpenAPI.NET is Microsoft's .NET SDK for OpenAPI descriptions: one shared object model for OpenAPI documents, readers that load JSON and YAML documents in both version 2 (Swagger) and version 3 formats, and writers that produce either. Version 3 of the library adds OpenAPI 3.2. Separate processor projects build documents from C# comments and from OData CSDL.

## Links

- GitHub: https://github.com/microsoft/OpenAPI.NET

## Problems it solves

- read an OpenAPI YAML file into C# objects so I can inspect its endpoints
- build an OpenAPI document in code from my .NET service and write it out as JSON
- convert a Swagger 2.0 description to OpenAPI 3 in .NET
- validate and walk an OpenAPI description in a C# tool

## Features

- a .NET object model for OpenAPI documents
- readers for JSON and YAML in OpenAPI 2 and 3 formats
- writers for OpenAPI 2 and 3, including 3.2
- processors for C# comments and OData CSDL in separate projects

## Trust

Overall: 0.68 out of 1.
Signals: maintenance 1.00, adoption 0.64, momentum 0.36, community 0.85, backing 0.55, extensibility 0.00.

- last commit 2 days ago
- 93 commits in the last 90 days
- latest release v2.13.1 13 days ago
- 1.6k GitHub stars
- 129 contributors
- backed by Microsoft
- funding: public company (NASDAQ:MSFT)

## Sources

[^1]: https://github.com/microsoft/OpenAPI.NET/blob/main/LICENSE (checked 28 Nov 2026)
[^2]: https://github.com/microsoft/OpenAPI.NET (checked 28 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
