Получение расписание в сокращённом формате

This commit is contained in:
Mikhail Kuznetsov
2023-06-21 15:01:29 +10:00
parent e55d8b8641
commit 3bb3266d10
4 changed files with 35 additions and 107 deletions

View File

@@ -37,11 +37,12 @@ namespace PARR.API.Installers
public static void InstallSwagger(this WebApplication app)
{
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
//todo: оставили swagger для прода
//if (app.Environment.IsDevelopment())
//{
app.UseSwagger();
app.UseSwaggerUI();
}
//}
}
}
}