Compare commits
2 Commits
ab660f69c8
...
3898463bc4
Author | SHA1 | Date | |
---|---|---|---|
3898463bc4 | |||
279ca9647b |
@ -76,6 +76,7 @@ jobs:
|
|||||||
-e SECURITY_HASH_TOKEN=$SECURITY_HASH_TOKEN \
|
-e SECURITY_HASH_TOKEN=$SECURITY_HASH_TOKEN \
|
||||||
-e SECURITY_SALT_SIZE=$SECURITY_SALT_SIZE \
|
-e SECURITY_SALT_SIZE=$SECURITY_SALT_SIZE \
|
||||||
-e ACTUAL_SUB_PATH=api \
|
-e ACTUAL_SUB_PATH=api \
|
||||||
|
-e SWAGGER_SUB_PATH=swagger \
|
||||||
$DOCKER_IMAGE
|
$DOCKER_IMAGE
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ public static class SwaggerConfiguration
|
|||||||
app.UseSwagger();
|
app.UseSwagger();
|
||||||
app.UseSwaggerUI(options =>
|
app.UseSwaggerUI(options =>
|
||||||
{
|
{
|
||||||
options.InjectStylesheet("/css/swagger/SwaggerDark.css");
|
options.InjectStylesheet($"{UrlHelper.GetSubPath}css/swagger/SwaggerDark.css");
|
||||||
var provider = services.GetService<IApiVersionDescriptionProvider>();
|
var provider = services.GetService<IApiVersionDescriptionProvider>();
|
||||||
|
|
||||||
foreach (var description in provider!.ApiVersionDescriptions)
|
foreach (var description in provider!.ApiVersionDescriptions)
|
||||||
|
Loading…
Reference in New Issue
Block a user