From 5f0635e80ff60eb2eb987d4e14ee2b15a62ed545 Mon Sep 17 00:00:00 2001 From: Andrew Schlackman <72105194+sei-aschlackman@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:57:33 -0400 Subject: [PATCH] fixed vlan delete endpoint paths --- src/Caster.Api/Features/Vlan/VlansController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Caster.Api/Features/Vlan/VlansController.cs b/src/Caster.Api/Features/Vlan/VlansController.cs index 20e605c..361794f 100644 --- a/src/Caster.Api/Features/Vlan/VlansController.cs +++ b/src/Caster.Api/Features/Vlan/VlansController.cs @@ -97,7 +97,7 @@ public async Task GetPoolById([FromRoute] Guid id) /// ID of a VLAN Pool /// /// - [HttpDelete("/vlans/pools/{id}")] + [HttpDelete("vlans/pools/{id}")] [ProducesResponseType((int)HttpStatusCode.NoContent)] [SwaggerOperation(OperationId = "DeletePool")] public async Task DeletePool([FromRoute] Guid id, [FromBody] DeletePool.Command command) @@ -228,7 +228,7 @@ public async Task UnsetDefaultPartition() /// /// ID of a VLAN Partition /// - [HttpDelete("/vlans/partitions/{id}")] + [HttpDelete("vlans/partitions/{id}")] [ProducesResponseType((int)HttpStatusCode.NoContent)] [SwaggerOperation(OperationId = "DeletePartition")] public async Task DeletePartition([FromRoute] Guid id)