mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-11-05 01:53:58 +08:00
swagger文档
This commit is contained in:
@@ -31,7 +31,6 @@ namespace ThingsGateway.Web.Foundation
|
||||
/// <summary>
|
||||
/// 写入设备
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("writeDeviceMethod")]
|
||||
[Description("写入设备")]
|
||||
public Task<OperResult> WriteDeviceMethod(NameVaue obj)
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
public class NameVaue
|
||||
{
|
||||
/// <summary>
|
||||
/// 变量名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 变量值
|
||||
/// </summary>
|
||||
public string Value { get; set; }
|
||||
}
|
||||
@@ -4,6 +4,8 @@
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
||||
<Version>1.1.0</Version>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<NoWarn>CS1591;</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user