From e95c04c91e79bf101cb92f4d1a9b9c5a3ead1b8b Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Fri, 15 Apr 2022 13:40:24 +0500 Subject: [PATCH] Doc wits info methods --- .../Controllers/WITS/WitsInfoController.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs b/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs index df602712..64c6d6cc 100644 --- a/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs +++ b/AsbCloudWebApi/Controllers/WITS/WitsInfoController.cs @@ -28,6 +28,11 @@ namespace AsbCloudWebApi.Controllers.WITS return Ok(result); } + /// + /// Список всех WITS items для конкретной record + /// + /// + /// [HttpGet("item/{idRecord}")] [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] public IActionResult GetItems(int idRecord) @@ -36,6 +41,10 @@ namespace AsbCloudWebApi.Controllers.WITS return Ok(result); } + /// + /// Список описаний всех wits records + /// + /// [HttpGet("record")] [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] public IActionResult GetRecordInfo() @@ -44,6 +53,11 @@ namespace AsbCloudWebApi.Controllers.WITS return Ok(result); } + /// + /// Описание конкретной record + /// + /// + /// [HttpGet("record/{idRecord}")] [ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)] public IActionResult GetRecordInfo(int idRecord)