refactor!: remove redundant /api from route
This commit is contained in:
parent
9ea4425c26
commit
6f1cd303f3
|
@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||
namespace OliverBooth.Api.Controllers.v1;
|
||||
|
||||
[ApiController]
|
||||
[Route("v{version:apiVersion}/api/badge")]
|
||||
[Route("v{version:apiVersion}/badge")]
|
||||
[Produces("application/json")]
|
||||
[ApiVersion(1)]
|
||||
public sealed class BadgeController : ControllerBase
|
||||
|
|
|
@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||
namespace OliverBooth.Api.Controllers.v2;
|
||||
|
||||
[ApiController]
|
||||
[Route("v{version:apiVersion}/api/badge")]
|
||||
[Route("v{version:apiVersion}/badge")]
|
||||
[Produces("application/json")]
|
||||
[ApiVersion(2)]
|
||||
public sealed class BadgeController : ControllerBase
|
||||
|
|
Loading…
Reference in New Issue