Skip to content

Obsolete Mvc.Api.Analyzers shipped in the framework #62689

Open
@captainsafia

Description

@captainsafia

The Mvc.Api.Analyzers package that is currently shipped as part of the ASP.NET Core framework should be obsoleted. This analyzer package was designed to provide compile-time analysis for Web API controllers, but its utility and maintenance burden may no longer justify its inclusion in the core framework.

The Mvc.Api.Analyzers package provides static analysis rules for ASP.NET Core Web API controllers, including:

  • Detecting missing or incorrect HTTP status code documentation
  • Validating API controller conventions
  • Ensuring proper use of action result types

Over the past few years, they've not received active maintenance to evolve with new language and framework features. Usage is low since the analyzers require explicit opt-in an MSBuild flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions