Black.Beard.OpenApi 1.0.7

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.7                
NuGet\Install-Package Black.Beard.OpenApi -Version 1.0.7                
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.7" />                
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.7                
#r "nuget: Black.Beard.OpenApi, 1.0.7"                
#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.7

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

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 147 4/7/2024
1.0.18 142 4/3/2024
1.0.17 134 4/3/2024
1.0.16 142 4/1/2024
1.0.15 128 4/1/2024
1.0.14 134 4/1/2024
1.0.13 129 3/31/2024
1.0.12 129 3/30/2024
1.0.11 131 3/30/2024
1.0.10 127 3/26/2024
1.0.9 132 3/24/2024
1.0.8 138 3/20/2024
1.0.7 152 3/20/2024
1.0.6 129 3/19/2024
1.0.5 141 3/13/2024
1.0.4 137 3/13/2024
1.0.3 156 3/13/2024
1.0.2 131 3/12/2024