backend + web: Protect Swagger UI behind admin login
This commit is contained in:
1 parent
d8de714481
commit
eddf5837eb
16 files changed
+158
-28
No files matched your search
@@ -9,7 +9,7 @@ public static class SwaggerSetup
|
||||
{
|
||||
private const string SchemeId = "Bearer";
|
||||
|
||||
/// <summary>Swagger UI na <c>/swagger</c> včetně přihlášení access tokenem (NFR-04).</summary>
|
||||
/// <summary>Generování OpenAPI dokumentu pro administrátorské Swagger UI (NFR-04).</summary>
|
||||
public static IServiceCollection AddHelpdeskSwagger(this IServiceCollection services)
|
||||
{
|
||||
services.AddEndpointsApiExplorer();
|
||||
|
||||
Reference in new issue
Block a user