[FEATURE REQ] Exclude {id} from rule-path-lower-case-id

Open
#724 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
api, tooling

Research direction

Start by locating the implementation and tests for the rule-path-lower-case-id rule; the issue provides the rule name and an ASP.NET routing reference. Confirm how paths containing {id} are currently reported, then verify that excluding those paths leaves other lower-case ID violations unchanged.

Written by the indexing model from the issue text.

Description

Please describe the feature.

With the current default Saunter configuration it generates errors based on the rule rule-path-lower-case-id in case when path contain {id}.
But this route template is very popular, it is used a lot in ASP.NET documentation: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-9.0
Maybe it is a good idea to exclude such paths from the rule?

Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.