Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.4 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.4 KB

Build Status CodeFactor GitHub release

marco-swagger

Package base Swagger for WebApi AspNetCore.

Nuget Packages

Version Downloads
Marco.Swagger NuGet NuGet

To use the package you will need to make the following settings in the WebApi Startup

Configure Services

public void ConfigureServices(IServiceCollection services)
{
    services.AddMarcoSwagger(Configuration);
}

Configure Middlewares

public void Configure(IApplicationBuilder app)
{         
    app.UseMvc();
    app.UseMarcoSwagger();
}

Add API Meta data in appsettings.json

"ApiMetaData": {
    "Name": "WebApi",
    "Description": "Description WebApi em AspNetCore",
    "DefaultVersion": "1.0",
    "VersionIngDescriptions": []
  }