File tree Expand file tree Collapse file tree
src/Infrastructure/Extensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,23 @@ internal static IServiceCollection AddSwaggerDocumentation(this IServiceCollecti
4040 {
4141 services . AddSwaggerGen ( options =>
4242 {
43+ options . SwaggerDoc ( "v1" , new OpenApiInfo
44+ {
45+ Title = ".NET 6.0 WebAPI - Clean Architecture" ,
46+ Version = "v1" ,
47+ Description = "Clean Architecture Template for .NET 6.0 WebApi built with Multitenancy Support." ,
48+ Contact = new OpenApiContact
49+ {
50+ Name = "Mukesh Murugan" ,
51+ Email = "hello@codewithmukesh.com" ,
52+ Url = new Uri ( "https://linkedin.com/in/iammukeshm" ) ,
53+ } ,
54+ License = new OpenApiLicense
55+ {
56+ Name = "MIT License" ,
57+ Url = new Uri ( "https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/LICENSE" ) ,
58+ }
59+ } ) ;
4360 string baseDirectory = AppDomain . CurrentDomain . BaseDirectory ;
4461 foreach ( var assembly in AppDomain . CurrentDomain . GetAssemblies ( ) )
4562 {
You can’t perform that action at this time.
0 commit comments