Compare commits

..

No commits in common. "06b6a6bf08a1579845f4aa1d6dc0da7964328010" and "9ea4425c26553905571cd6323afaf88837db382d" have entirely different histories.

3 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
namespace OliverBooth.Api.Controllers.v1;
[ApiController]
[Route("v{version:apiVersion}/badge")]
[Route("v{version:apiVersion}/api/badge")]
[Produces("application/json")]
[ApiVersion(1)]
public sealed class BadgeController : ControllerBase

View File

@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
namespace OliverBooth.Api.Controllers.v2;
[ApiController]
[Route("v{version:apiVersion}/badge")]
[Route("v{version:apiVersion}/api/badge")]
[Produces("application/json")]
[ApiVersion(2)]
public sealed class BadgeController : ControllerBase

View File

@ -25,7 +25,6 @@ builder.Services.AddCors(options =>
options.AddPolicy("site", policy => policy.WithOrigins("https://admin.oliverbooth.dev", "https://oliverbooth.dev"));
});
builder.Services.AddHttpClient();
builder.Services.AddCommonServices();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(options => options.ResolveConflictingActions(resolver =>