Skip to content

ASP007 and ASP005 when using apiVersion in controller routeΒ #107

@mahgo

Description

@mahgo

I have this route on my controller [Route("{v:apiVersion}/[controller]")], as per https://www.c-sharpcorner.com/article/api-versioning-in-asp-net-core-with-three-different-ways/

It's getting ASP007 and ASP005 (I already have ASP012 turned off). Is there any way to solve this other than suppressing it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions