diff --git a/Squidex.ruleset b/Squidex.ruleset
index d1a5bbeb2..055510070 100644
--- a/Squidex.ruleset
+++ b/Squidex.ruleset
@@ -62,6 +62,7 @@
+
diff --git a/src/Squidex/Areas/Api/Config/Swagger/SecurityProcessor.cs b/src/Squidex/Areas/Api/Config/Swagger/SecurityProcessor.cs
index 2b5b5b24c..a09e9c9f0 100644
--- a/src/Squidex/Areas/Api/Config/Swagger/SecurityProcessor.cs
+++ b/src/Squidex/Areas/Api/Config/Swagger/SecurityProcessor.cs
@@ -6,6 +6,7 @@
// ==========================================================================
using System.Collections.Generic;
+using System.Linq;
using Microsoft.Extensions.Options;
using NSwag;
using NSwag.SwaggerGeneration.Processors.Security;
@@ -17,7 +18,7 @@ namespace Squidex.Areas.Api.Config.Swagger
public class SecurityProcessor : SecurityDefinitionAppender
{
public SecurityProcessor(IOptions urlOptions)
- : base(Constants.SecurityDefinition, CreateOAuthSchema(urlOptions.Value))
+ : base(Constants.SecurityDefinition, Enumerable.Empty(), CreateOAuthSchema(urlOptions.Value))
{
}
diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs
index f60427864..a17673252 100644
--- a/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs
+++ b/src/Squidex/Areas/Api/Controllers/Apps/AppClientsController.cs
@@ -108,7 +108,7 @@ namespace Squidex.Areas.Api.Controllers.Apps
}
///
- /// Revoke an app client
+ /// Revoke an app client.
///
/// The name of the app.
/// The id of the client that must be deleted.
diff --git a/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs b/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs
index 29783a09e..fd4fac1c5 100644
--- a/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs
+++ b/src/Squidex/Areas/Api/Controllers/Apps/AppPatternsController.cs
@@ -113,7 +113,7 @@ namespace Squidex.Areas.Api.Controllers.Apps
/// 404 => Pattern or app not found.
///
///
- /// Schemas using this pattern will still function using the same Regular Expression
+ /// Schemas using this pattern will still function using the same Regular Expression.
///
[HttpDelete]
[Route("apps/{app}/patterns/{id}/")]
diff --git a/src/Squidex/Areas/Api/Controllers/Apps/Models/AppPatternDto.cs b/src/Squidex/Areas/Api/Controllers/Apps/Models/AppPatternDto.cs
index c42e21caf..ad8efa50f 100644
--- a/src/Squidex/Areas/Api/Controllers/Apps/Models/AppPatternDto.cs
+++ b/src/Squidex/Areas/Api/Controllers/Apps/Models/AppPatternDto.cs
@@ -17,7 +17,7 @@ namespace Squidex.Areas.Api.Controllers.Apps.Models
public sealed class AppPatternDto
{
///
- /// Identifier for Pattern
+ /// Unique id of the pattern.
///
public Guid PatternId { get; set; }
diff --git a/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs b/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs
index ebba7a336..fc1e9e63f 100644
--- a/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs
+++ b/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs
@@ -54,7 +54,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 404 => Schema or app not found.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpGet]
[HttpPost]
@@ -85,7 +85,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 404 => Schema or app not found.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpGet]
[HttpPost]
@@ -117,7 +117,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 404 => App not found.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpGet]
[Route("content/{app}/")]
@@ -157,7 +157,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 404 => Schema or app not found.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpGet]
[Route("content/{app}/{name}/")]
@@ -196,7 +196,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 404 => Content, schema or app not found.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpGet]
[Route("content/{app}/{name}/{id}/")]
@@ -232,7 +232,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content data is not valid.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpGet]
[Route("content/{app}/{name}/{id}/{version}/")]
@@ -268,7 +268,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content data is not valid.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPost]
[Route("content/{app}/{name}/")]
@@ -309,7 +309,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content data is not valid.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPut]
[Route("content/{app}/{name}/{id}/")]
@@ -342,7 +342,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content patch is not valid.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPatch]
[Route("content/{app}/{name}/{id}/")]
@@ -374,7 +374,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content was already published.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPut]
[Route("content/{app}/{name}/{id}/publish/")]
@@ -404,7 +404,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content was not published.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPut]
[Route("content/{app}/{name}/{id}/unpublish/")]
@@ -434,7 +434,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content was already archived.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPut]
[Route("content/{app}/{name}/{id}/archive/")]
@@ -464,7 +464,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content was not archived.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPut]
[Route("content/{app}/{name}/{id}/restore/")]
@@ -493,7 +493,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 400 => Content was not archived.
///
///
- /// You can read the generated documentation for your app at /api/content/{appName}/docs
+ /// You can read the generated documentation for your app at /api/content/{appName}/docs.
///
[HttpPut]
[Route("content/{app}/{name}/{id}/discard/")]
@@ -521,7 +521,7 @@ namespace Squidex.Areas.Api.Controllers.Contents
/// 404 => Content, schema or app not found.
///
///
- /// You can create an generated documentation for your app at /api/content/{appName}/docs
+ /// You can create an generated documentation for your app at /api/content/{appName}/docs.
///
[HttpDelete]
[Route("content/{app}/{name}/{id}/")]
diff --git a/src/Squidex/Areas/Api/Controllers/History/HistoryController.cs b/src/Squidex/Areas/Api/Controllers/History/HistoryController.cs
index bb5b5fc57..f4cff725a 100644
--- a/src/Squidex/Areas/Api/Controllers/History/HistoryController.cs
+++ b/src/Squidex/Areas/Api/Controllers/History/HistoryController.cs
@@ -31,7 +31,7 @@ namespace Squidex.Areas.Api.Controllers.History
}
///
- /// Get the events from the history
+ /// Get the events from the history.
///
/// The name of the app.
/// The name of the channel.
diff --git a/src/Squidex/Areas/Api/Controllers/Rules/Models/RuleEventDto.cs b/src/Squidex/Areas/Api/Controllers/Rules/Models/RuleEventDto.cs
index 68f2bc56a..f577f405a 100644
--- a/src/Squidex/Areas/Api/Controllers/Rules/Models/RuleEventDto.cs
+++ b/src/Squidex/Areas/Api/Controllers/Rules/Models/RuleEventDto.cs
@@ -27,7 +27,7 @@ namespace Squidex.Areas.Api.Controllers.Rules.Models
public Instant Created { get; set; }
///
- /// The description
+ /// The description.
///
[Required]
public string Description { get; set; }
diff --git a/src/Squidex/Areas/IdentityServer/Config/IdentityServerExtensions.cs b/src/Squidex/Areas/IdentityServer/Config/IdentityServerExtensions.cs
index 7ea0f39dc..d91a8c4b0 100644
--- a/src/Squidex/Areas/IdentityServer/Config/IdentityServerExtensions.cs
+++ b/src/Squidex/Areas/IdentityServer/Config/IdentityServerExtensions.cs
@@ -26,7 +26,7 @@ namespace Squidex.Areas.IdentityServer.Config
{
app.UseIdentityServer();
- return app;
+ return app;
}
public static IServiceProvider UseMyAdmin(this IServiceProvider services)