Bondx.MinimalApi.Extensions (nuget): Extention for minimal api.  		Example for usage:  		builder.Services.AddEndpointDefinitions(typeof(Program));  		var app = builder.Build(); 		app.UseEndpointDefinitions();  		Example for swagger implementation: 		public class SwaggerEndpointDefinition : IEndpointDefini 		{ 			public void DefineEndPoints(WebApplication app) 			{ 				if (app.Environment.IsDevelopment()) 				{ 					app.UseSwagger(); 					app.UseSwaggerUI(); 				} 			}  			public void DefineServices(IServiceCollection services) 			{ 				services.AddEndpointsApiExplorer(); 				services.AddSwaggerGen(); 			} 		}
Keywords: MinimalAPI|EndpointDefinition