We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530a712 commit f077b52Copy full SHA for f077b52
src/LinCms.Web/Startup/SwaggerExtensions.cs
@@ -154,13 +154,13 @@ public static IServiceCollection AddSwaggerGen(this IServiceCollection services)
154
Log.Logger.Warning(ex.Message);
155
}
156
157
-#if !DEBUG
158
- options.AddServer(new OpenApiServer()
159
- {
160
- Url = siteOption.ApiDomain,
161
- Description = "服务端"
162
- });
163
-#endif
+//#if !DEBUG
+// options.AddServer(new OpenApiServer()
+// {
+// Url = siteOption.ApiDomain,
+// Description = "服务端"
+// });
+//#endif
164
165
options.CustomOperationIds(apiDesc =>
166
{
0 commit comments