Black.Beard.OpenApi 1.0.15

There is a newer version of this package available.
See the version list below for details.
dotnet add package Black.Beard.OpenApi --version 1.0.15
NuGet\Install-Package Black.Beard.OpenApi -Version 1.0.15
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.15" />
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.15
#r "nuget: Black.Beard.OpenApi, 1.0.15"
#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.15

// Install Black.Beard.OpenApi as a Cake Tool
#tool nuget:?package=Black.Beard.OpenApi&version=1.0.15

Black.Beard.OpenApi

Helpers for open api

Build status

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 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.

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 100 4/7/2024
1.0.18 102 4/3/2024
1.0.17 93 4/3/2024
1.0.16 108 4/1/2024
1.0.15 93 4/1/2024
1.0.14 95 4/1/2024
1.0.13 92 3/31/2024
1.0.12 90 3/30/2024
1.0.11 98 3/30/2024
1.0.10 90 3/26/2024
1.0.9 91 3/24/2024
1.0.8 104 3/20/2024
1.0.7 108 3/20/2024
1.0.6 90 3/19/2024
1.0.5 99 3/13/2024
1.0.4 100 3/13/2024
1.0.3 111 3/13/2024
1.0.2 98 3/12/2024