aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Startup.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-21 21:25:33 +0800
committercrupest <crupest@outlook.com>2020-08-21 21:25:33 +0800
commitdcb0a10e1adaec24961f2484e7f9a9a1f1f5da15 (patch)
tree6183eac0575933a7d4b0bcd7ad771dafa06bf246 /Timeline/Startup.cs
parent81f6ecd9685c5a6bae0da5050b5edfaf050167cc (diff)
downloadtimeline-dcb0a10e1adaec24961f2484e7f9a9a1f1f5da15.tar.gz
timeline-dcb0a10e1adaec24961f2484e7f9a9a1f1f5da15.tar.bz2
timeline-dcb0a10e1adaec24961f2484e7f9a9a1f1f5da15.zip
...
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r--Timeline/Startup.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs
index 3e5dd24d..960bbc2c 100644
--- a/Timeline/Startup.cs
+++ b/Timeline/Startup.cs
@@ -20,6 +20,7 @@ using Timeline.Helpers;
using Timeline.Models.Converters;
using Timeline.Routes;
using Timeline.Services;
+using Timeline.Swagger;
namespace Timeline
{
@@ -112,6 +113,7 @@ namespace Timeline
Description = "Type into the textbox: Bearer {your JWT token}."
}));
document.OperationProcessors.Add(new AspNetCoreOperationSecurityScopeProcessor("JWT"));
+ document.OperationProcessors.Add(new DefaultDescriptionOperationProcessor());
});
if (!disableFrontEnd)