agoda-com / agoda-com/AgodaAnalyzers
AG0036: Ensure controller action methods are decorated with the [Route] attribute
Đang mở
New Rule
- Ngôn ngữ chính
- C#
- Star
- 25
- Fork
- 15
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
We want to move away from convention-based to attribute-based routing.
This analyzer should ensure that all public methods in a class that inherit from `System.Web.Mvc.Controller` or `System.Web.Http.ApiController` have a `[Route]` attribute.
https://agoda-com.github.io/standards-c-sharp/routing/attribute.html
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.