Black.Beard.OpenApi
1.0.10
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Black.Beard.OpenApi --version 1.0.10
NuGet\Install-Package Black.Beard.OpenApi -Version 1.0.10
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="Black.Beard.OpenApi" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Black.Beard.OpenApi --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Black.Beard.OpenApi, 1.0.10"
#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 Black.Beard.OpenApi as a Cake Addin #addin nuget:?package=Black.Beard.OpenApi&version=1.0.10 // Install Black.Beard.OpenApi as a Cake Tool #tool nuget:?package=Black.Beard.OpenApi&version=1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Black.Beard.OpenApi
Helpers for open api
create a open api contract from a type
// type to generate open api contract.
var type = typeof(ModelTest1);
// create a context with all types that contains the open api contract
var ctx = type.GenerateOpenApiContract()
.GenerateOpenApiContract(t2) // add another type
.ApplyDocumentation(LoadDocumentationExtension.LoadXmlFiles()) // apply documentation
;
// generate the open api contract
OpenApiDocument openApi = ctx.Generate();
// save the contract in a file
openApi.SaveOpenApiContract("file path");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.OpenApi (>= 1.6.14)
- Microsoft.OpenApi.Readers (>= 1.6.14)
- Swashbuckle.AspNetCore (>= 6.5.0)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.5.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Black.Beard.OpenApi:
Package | Downloads |
---|---|
Black.Beard.OpenApiServices
add visitor for generate code from open api documentation |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.19 | 142 | 4/7/2024 |
1.0.18 | 139 | 4/3/2024 |
1.0.17 | 131 | 4/3/2024 |
1.0.16 | 139 | 4/1/2024 |
1.0.15 | 125 | 4/1/2024 |
1.0.14 | 131 | 4/1/2024 |
1.0.13 | 126 | 3/31/2024 |
1.0.12 | 124 | 3/30/2024 |
1.0.11 | 128 | 3/30/2024 |
1.0.10 | 124 | 3/26/2024 |
1.0.9 | 129 | 3/24/2024 |
1.0.8 | 135 | 3/20/2024 |
1.0.7 | 149 | 3/20/2024 |
1.0.6 | 126 | 3/19/2024 |
1.0.5 | 138 | 3/13/2024 |
1.0.4 | 132 | 3/13/2024 |
1.0.3 | 151 | 3/13/2024 |
1.0.2 | 128 | 3/12/2024 |