APIWeaver.OpenApi
0.0.1-alpha.6
See the version list below for details.
dotnet add package APIWeaver.OpenApi --version 0.0.1-alpha.6
NuGet\Install-Package APIWeaver.OpenApi -Version 0.0.1-alpha.6
<PackageReference Include="APIWeaver.OpenApi" Version="0.0.1-alpha.6" />
<PackageVersion Include="APIWeaver.OpenApi" Version="0.0.1-alpha.6" />
<PackageReference Include="APIWeaver.OpenApi" />
paket add APIWeaver.OpenApi --version 0.0.1-alpha.6
#r "nuget: APIWeaver.OpenApi, 0.0.1-alpha.6"
#:package APIWeaver.OpenApi@0.0.1-alpha.6
#addin nuget:?package=APIWeaver.OpenApi&version=0.0.1-alpha.6&prerelease
#tool nuget:?package=APIWeaver.OpenApi&version=0.0.1-alpha.6&prerelease
APIWeaver
APIWeaver is a powerful and lightweight library designed to provide a seamless integration of OpenAPI and Swagger UI into your .NET 6+ apps. APIWeaver supports the latest .NET 8 features and is designed to be future-proof, ensuring support for upcoming .NET and OpenAPI features.
Work in progress
This project is currently under active development, with ongoing improvements, new features and potential API changes. I encourage you to try it out and provide feedback, but please be aware that the library is not yet stable.
Getting Started
To get started with APIWeaver, you can install the NuGet package using your preferred package manager. In most cases, the package APIWeaver.Swagger
is the one you are looking for.
- Install the NuGet package
dotnet add package APIWeaver.Swagger
- Add the using directive to your Program.cs file
using APIWeaver;
- Add the following lines to your
Program.cs
file.
builder.Services.AddApiWeaver();
// other code
if (app.Environment.IsDevelopment())
{
app.UseSwaggerUi();
}
That's it. You now have a fully functional Swagger UI in your application. The UI can be accessed by navigating to /swagger
in your browser 🥳. A more detailed guide with more use cases can be found here.
Contribution and Collaboration
Your contributions to this project are welcomed and encouraged. Your active involvement can significantly impact its success!
License
Distributed under the MIT License. See LICENSE for more information. This means APIWeaver will always remain free.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 is compatible. 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. 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. |
-
net6.0
- APIWeaver.Core (>= 0.0.1-alpha.6)
- APIWeaver.Schema (>= 0.0.1-alpha.6)
- Microsoft.OpenApi (>= 1.6.13)
-
net7.0
- APIWeaver.Core (>= 0.0.1-alpha.6)
- APIWeaver.Schema (>= 0.0.1-alpha.6)
- Microsoft.OpenApi (>= 1.6.13)
-
net8.0
- APIWeaver.Core (>= 0.0.1-alpha.6)
- APIWeaver.Schema (>= 0.0.1-alpha.6)
- Microsoft.OpenApi (>= 1.6.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on APIWeaver.OpenApi:
Package | Downloads |
---|---|
APIWeaver
APIWeaver is a powerful and lightweight library that integrates Swagger UI and OpenAPI support into your .NET 9 applications. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on APIWeaver.OpenApi:
Repository | Stars |
---|---|
foxminchan/BookWorm
The practical implementation of .NET Aspire using Microservices
|
Version | Downloads | Last Updated |
---|---|---|
2.7.0 | 21,867 | 11/13/2024 |
2.6.2 | 687 | 10/29/2024 |
2.6.1 | 90 | 10/29/2024 |
2.6.0 | 119 | 10/28/2024 |
2.5.0 | 836 | 10/26/2024 |
2.5.0-preview.3 | 145 | 9/23/2024 |
2.5.0-preview.2 | 73 | 9/22/2024 |
2.5.0-preview.1 | 68 | 9/22/2024 |
2.4.2 | 780 | 10/9/2024 |
2.4.1 | 3,849 | 9/13/2024 |
2.4.0 | 99 | 9/6/2024 |
2.3.0 | 138 | 9/3/2024 |
2.2.0 | 96 | 8/28/2024 |
2.1.0 | 106 | 8/27/2024 |
2.0.0 | 102 | 8/26/2024 |
2.0.0-preview.3 | 86 | 8/25/2024 |
2.0.0-preview.2 | 93 | 8/25/2024 |
1.1.1 | 182 | 3/4/2024 |
1.1.0 | 173 | 2/21/2024 |
1.0.0 | 189 | 2/15/2024 |
0.0.1-alpha.10 | 94 | 2/14/2024 |
0.0.1-alpha.9 | 81 | 2/12/2024 |
0.0.1-alpha.8 | 71 | 2/12/2024 |
0.0.1-alpha.7 | 81 | 2/11/2024 |
0.0.1-alpha.6 | 75 | 2/11/2024 |
0.0.1-alpha.5 | 80 | 2/11/2024 |
0.0.1-alpha.4 | 76 | 2/10/2024 |
0.0.1-alpha.3 | 82 | 2/9/2024 |
0.0.1-alpha.2 | 84 | 2/9/2024 |