Skip to content

Commit

Permalink
Delete 404NotFound ResponseType in Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
audserraCGI committed Jul 29, 2022
1 parent 119f787 commit b0eb129
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public LoRaWANCommandsController(ILoRaWANCommandService loRaWANCommandService)
/// <returns>The action result.</returns>
[HttpPost(Name = "POST Set device model commands")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public async Task<IActionResult> Post(string id, DeviceModelCommand[] commands)
{
ArgumentNullException.ThrowIfNull(id, nameof(id));
Expand All @@ -60,7 +59,6 @@ public async Task<IActionResult> Post(string id, DeviceModelCommand[] commands)
/// <returns>The action result.</returns>
[HttpGet(Name = "GET Device model commands")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public async Task<ActionResult<DeviceModelCommand[]>> Get(string id)
{

Expand Down

0 comments on commit b0eb129

Please sign in to comment.