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
commit53888df71f7580bf169dfab3d13d313cf96d26df (patch)
tree6317f1debad6d58ddad04f8767f447e5ae34556d /Timeline/Startup.cs
parent6fa82cabf2eebec572d23ff49a650e04128d2514 (diff)
downloadtimeline-53888df71f7580bf169dfab3d13d313cf96d26df.tar.gz
timeline-53888df71f7580bf169dfab3d13d313cf96d26df.tar.bz2
timeline-53888df71f7580bf169dfab3d13d313cf96d26df.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)