From b0eb1298c2303bc5711e32c5ed8ba976118f2f50 Mon Sep 17 00:00:00 2001 From: Audrey Serra Date: Fri, 29 Jul 2022 09:37:01 +0200 Subject: [PATCH] Delete 404NotFound ResponseType in Controller --- .../Controllers/v1.0/LoRaWAN/LoRaWANCommandsController.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/AzureIoTHub.Portal/Server/Controllers/v1.0/LoRaWAN/LoRaWANCommandsController.cs b/src/AzureIoTHub.Portal/Server/Controllers/v1.0/LoRaWAN/LoRaWANCommandsController.cs index ef261d74a..c3b08a0ac 100644 --- a/src/AzureIoTHub.Portal/Server/Controllers/v1.0/LoRaWAN/LoRaWANCommandsController.cs +++ b/src/AzureIoTHub.Portal/Server/Controllers/v1.0/LoRaWAN/LoRaWANCommandsController.cs @@ -42,7 +42,6 @@ public LoRaWANCommandsController(ILoRaWANCommandService loRaWANCommandService) /// The action result. [HttpPost(Name = "POST Set device model commands")] [ProducesResponseType(StatusCodes.Status200OK)] - [ProducesResponseType(StatusCodes.Status404NotFound)] public async Task Post(string id, DeviceModelCommand[] commands) { ArgumentNullException.ThrowIfNull(id, nameof(id)); @@ -60,7 +59,6 @@ public async Task Post(string id, DeviceModelCommand[] commands) /// The action result. [HttpGet(Name = "GET Device model commands")] [ProducesResponseType(StatusCodes.Status200OK)] - [ProducesResponseType(StatusCodes.Status404NotFound)] public async Task> Get(string id) {