Skip to content

Yugo917/AsyncAPI.Net.UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📰 AsyncAPI.Net.UI

A .Net library to generate AsyncAPI 2.0 documentation by code first, to easily share and maintain your event-driven architecture.

🧪 Test It :

  1. Download the repo

  2. Run AsyncAPI.NET.UI.Sample

  3. GO http://localhost:5000/asyncapi

  4. And see : 🚧 add screenshoots

🏁 Getting Started :

  1. Install the standard Nuget package into your ASP.NET Core application.

    🚧 CLI : dotnet add package --version ?.?.? AsyncAPI.Net.UI
    
  2. Add import

    using AsyncApi.Net.Ui.Extensions;
    using AsyncApi.Net.Ui.Models;
  3. In the ConfigureServices(IServiceCollection services) method of Startup.cs, register the AsyncApiDoc generator, defining one or more AsyncApiDoc documents.

    services.AddMvc();
    
    services.AddAsyncApiDocumentation(new AsyncApiDocInfo()
        {
            Title = "My title AsyncAPI",
            Description = "The great description of the my AcyncApi",
            ContactName = "Crazy Coder",
            ContactUrl = "https://www.microsoft.com/"
        });
  4. In the Configure(IApplicationBuilder app, IApiVersionDescriptionProvider provider) method of Startup.cs, MapRazorPages

    app.UseRouting();
    app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers();
            endpoints.MapRazorPages();
        });

🚦 Roadmap :

  • the project is still in alpha check the roadmap

🔗 Links :

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published