Вернул openAPI
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 3m47s

This commit is contained in:
2025-09-06 19:52:55 +03:00
parent ae7c55cce3
commit cd3837652d

View File

@@ -45,6 +45,9 @@ if (string.IsNullOrEmpty(preinstsalledJwtToken))
var app = builder.Build(); var app = builder.Build();
app.UseForwardedHeaders();
app.MapOpenApi();
var logger = app.Services.GetRequiredService<ILogger<Program>>(); var logger = app.Services.GetRequiredService<ILogger<Program>>();
if (string.IsNullOrEmpty(preinstsalledJwtToken)) if (string.IsNullOrEmpty(preinstsalledJwtToken))