feat: api 改为小写

This commit is contained in:
zhangpeihang 2022-01-27 17:33:05 +08:00
parent 52a69ec511
commit 75716a9444
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ var builder = WebApplication.CreateBuilder(args);
// Configure the service container.
builder.Services.AddControllers();
builder.Services.AddRouting(s => s.LowercaseUrls = true);
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(options =>
{