From it's web site: "....with a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability."
It's easy to integrate Swagger into your ASP.NET Boilerplate based application.
Install Swashbuckle.Core nuget package to your WebApi project (or Web project).
Add configuration code for Swagger into Initialize method of your module. Example:
public class SwaggerIntegrationDemoWebApiModule : AbpModule
{
public override void Initialize()
{
//your other code...
ConfigureSwaggerUi();
}
private void ConfigureSwaggerUi()
{
Configuration.Modules.AbpWebApi().HttpConfiguration
.EnableSwagger(c =>
{
c.SingleApiVersion("v1", "SwaggerIntegrationDemo.WebApi");
c.ResolveConflictingActions(apiDescriptions => apiDescriptions.First());
})
.EnableSwaggerUi();
}
}
See it's own documentation for more configuration options.
That's all. Let's browse /swagger/ui/index:
You can see all Web API Controllers (and also dynamic web api controllers) and test them.