Black.Beard.OpenApi 1.0.2

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

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

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