// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public static void Configure(IApplicationBuilder app, IWebHostEnvironment env) { CatalystApplicationBuilder.CreateApplicationBuilder(app, env) .UseSwaggerUI(c => { c.SwaggerEndpoint($"/swagger", $"API v1"); c.RoutePrefix = string.Empty; }); }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public virtual void Configure(IApplicationBuilder app, IWebHostEnvironment env) { CatalystApplicationBuilder.CreateApplicationBuilder(app, env); }