Skip to content

Commit

Permalink
fix: add ApiKeyAuth to new overlapping endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
rikdepeuter authored and jvandaal committed Sep 11, 2024
1 parent 2178014 commit d1dc9e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ namespace Public.Api.Road.Extracts.V2
using RestSharp;
using System.Threading;
using System.Threading.Tasks;
using Common.Infrastructure.Controllers.Attributes;
using RoadRegistry.BackOffice.Api.Extracts;

public partial class ExtractControllerV2
{
[ApiKeyAuth("Road", AllowAuthorizationHeader = true)]
[HttpPost("wegen/extract/overlapping/percontour")]
public async Task<ActionResult> ListOverlappingByContour(
[FromBody] ExtractsController.ListOverlappingByContourParameters body,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ namespace Public.Api.Road.Extracts.V2
using RestSharp;
using System.Threading;
using System.Threading.Tasks;
using Common.Infrastructure.Controllers.Attributes;
using RoadRegistry.BackOffice.Api.Extracts;

public partial class ExtractControllerV2
{
[ApiKeyAuth("Road", AllowAuthorizationHeader = true)]
[HttpPost("wegen/extract/overlapping/perniscode")]
public async Task<ActionResult> ListOverlappingByNisCode(
[FromBody] ExtractsController.ListOverlappingByNisCodeParameters body,
Expand Down

0 comments on commit d1dc9e2

Please sign in to comment.