Black.Beard.OpenApiServices
1.0.12
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.OpenApiServices --version 1.0.12
NuGet\Install-Package Black.Beard.OpenApiServices -Version 1.0.12
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.OpenApiServices" Version="1.0.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Black.Beard.OpenApiServices --version 1.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Black.Beard.OpenApiServices, 1.0.12"
#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.OpenApiServices as a Cake Addin #addin nuget:?package=Black.Beard.OpenApiServices&version=1.0.12 // Install Black.Beard.OpenApiServices as a Cake Tool #tool nuget:?package=Black.Beard.OpenApiServices&version=1.0.12
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
- Black.Beard.Analysis (>= 1.0.112)
- Black.Beard.OpenApi (>= 1.0.12)
- Black.Beard.Process (>= 1.0.112)
- Black.Beard.Projects.Models (>= 1.0.112)
- Black.Beard.Roslyn (>= 1.0.112)
- Microsoft.OpenApi (>= 1.6.14)
- Microsoft.OpenApi.Readers (>= 1.6.14)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.19 | 137 | 4/7/2024 |
1.0.18 | 113 | 4/3/2024 |
1.0.17 | 110 | 4/3/2024 |
1.0.16 | 127 | 4/1/2024 |
1.0.15 | 112 | 4/1/2024 |
1.0.14 | 125 | 4/1/2024 |
1.0.13 | 128 | 3/31/2024 |
1.0.12 | 122 | 3/30/2024 |
1.0.11 | 124 | 3/30/2024 |
1.0.10 | 133 | 3/26/2024 |
1.0.9 | 127 | 3/24/2024 |
1.0.8 | 138 | 3/20/2024 |
1.0.7 | 138 | 3/20/2024 |
1.0.6 | 130 | 3/19/2024 |
1.0.5 | 135 | 3/13/2024 |
1.0.4 | 124 | 3/13/2024 |
1.0.3 | 137 | 3/13/2024 |
1.0.2 | 128 | 3/12/2024 |