Skip to content

DisableRoutingConvention #800

Closed
Closed
@ahmad550

Description

@ahmad550

Description

[DisableRoutingConvention]
[Route("api/v1/companies")]

public class CompaniesController : JsonApiController

when I use DisableRoutingConvention and give it the route with same name like controller name in plural it works fine but the problem is that if i want to change the route like [Route("api/v1/todo")] the response links will not be the same as my route it will still take the result of the links as it is without disableRoutingCounvention

with same name as controller
with to do

Environment

  • JsonApiDotNetCore Version: 3 and 4
  • Other Relevant Package Versions: .net core 3.1

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