File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ and adheres to a project-specific [Versioning](/README.md).
3030- S6678: Use PascalCase for named placeholders
3131- S6781: JWT secret keys should not be disclosed
3232- S6930: Backslash should be avoided in route templates
33- - S6931: ASP.NET controller actions should not have a route template starting with "/"
3433- S6932: Use model binding instead of reading raw request data
3534- S6934: A Route attribute should be added to the controller when a route template is specified at the action level
3635- S6960: Controllers should not have mixed responsibilities
Original file line number Diff line number Diff line change @@ -270,6 +270,10 @@ dotnet_diagnostic.S6605.severity = none
270270; Better readability of `First()` and `Last()` are preferred over performance gains
271271dotnet_diagnostic.S6608.severity = none
272272
273+ # S6931: ASP.NET controller actions should not have a route template starting with "/"
274+ ; This rule has no effect for our projects, since we mainly use Endpoints which limits developers to only implement one action per "Controller".
275+ dotnet_diagnostic.S6931.severity = none
276+
273277# S107: Methods should not have too many parameters
274278dotnet_diagnostic.S107.severity = warning
275279
You can’t perform that action at this time.
0 commit comments