{ "runtime": "Net50", "defaultVariables": null, "documentGenerator": { "fromDocument": { "json": "{\r\n \"x-generator\": \"NSwag v13.13.2.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v13.0.0.0))\",\r\n \"openapi\": \"3.0.0\",\r\n \"info\": {\r\n \"title\": \"IoTSharp\",\r\n \"description\": \"Open-source IoT Platform - Device management, data collection, processing and visualization.\",\r\n \"version\": \"1.6.0.0\"\r\n },\r\n \"servers\": [\r\n {\r\n \"url\": \"http://localhost:5000\"\r\n }\r\n ],\r\n \"paths\": {\r\n \"/api/Account/MyInfo\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"获取当前登录用户信息\",\r\n \"operationId\": \"Account_MyInfo\",\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfUserInfoDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Account/Login\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"登录用户\",\r\n \"operationId\": \"Account_Login\",\r\n \"requestBody\": {\r\n \"x-name\": \"model\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/LoginDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfLoginResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Account/Logout\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"退出账号\",\r\n \"operationId\": \"Account_Logout\",\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Account/Register\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"注册用户\",\r\n \"operationId\": \"Account_Register\",\r\n \"requestBody\": {\r\n \"x-name\": \"model\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegisterDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"返回登录结果\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfLoginResult\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Account/All/{customerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"返回客户所属用户列表\",\r\n \"operationId\": \"Account_All\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfUserItemDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Account/Get\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"返回用户信息\",\r\n \"operationId\": \"Account_Get\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"Id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfUserItemDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Account/Modify\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"修改用户信息\",\r\n \"operationId\": \"Account_Modify\",\r\n \"requestBody\": {\r\n \"x-name\": \"user\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/UserItemDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Account/ModifyMyInfo\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"修改当前用户信息\",\r\n \"operationId\": \"Account_ModifyMyInfo\",\r\n \"requestBody\": {\r\n \"x-name\": \"user\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/UserItemDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Account/ModifyMyPassword\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"Account\"\r\n ],\r\n \"summary\": \"修改当前用户信息\",\r\n \"operationId\": \"Account_ModifyMyPassword\",\r\n \"requestBody\": {\r\n \"x-name\": \"password\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/UserPassword\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/AuthorizedKeys\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AuthorizedKeys\"\r\n ],\r\n \"summary\": \"获取当前已登录用户所属客户的全局认证KEY\",\r\n \"operationId\": \"AuthorizedKeys_GetAuthorizedKeys\",\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/AuthorizedKey\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"AuthorizedKeys\"\r\n ],\r\n \"operationId\": \"AuthorizedKeys_PostAuthorizedKey\",\r\n \"requestBody\": {\r\n \"x-name\": \"dto\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/AuthorizedKeyDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"201\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfAuthorizedKey\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/AuthorizedKeys/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AuthorizedKeys\"\r\n ],\r\n \"summary\": \"根据ID获取KEY\",\r\n \"operationId\": \"AuthorizedKeys_GetAuthorizedKey\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfAuthorizedKey\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"AuthorizedKeys\"\r\n ],\r\n \"operationId\": \"AuthorizedKeys_PutAuthorizedKey\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"authorizedKey\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/AuthorizedKey\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 2\r\n },\r\n \"responses\": {\r\n \"204\": {\r\n \"description\": \"\"\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"AuthorizedKeys\"\r\n ],\r\n \"operationId\": \"AuthorizedKeys_DeleteAuthorizedKey\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfAuthorizedKey\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customers/Tenant/{tenantId}/All\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Customers\"\r\n ],\r\n \"summary\": \"获取指定租户下的所有客户\",\r\n \"operationId\": \"Customers_GetAllCustomers\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"tenantId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfCustomer\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Customers/Tenant/{tenantId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Customers\"\r\n ],\r\n \"summary\": \"获取指定租户下的所有客户\",\r\n \"operationId\": \"Customers_GetCustomers\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"tenantId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n },\r\n \"x-position\": 2\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/CustomerParam\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfCustomer\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Customers/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Customers\"\r\n ],\r\n \"summary\": \"返回指定id的客户\",\r\n \"operationId\": \"Customers_GetCustomer\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfCustomer\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Customers\"\r\n ],\r\n \"summary\": \"修改指定租户为 指定的信息\",\r\n \"operationId\": \"Customers_PutCustomer\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"customer\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/CustomerDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 2\r\n },\r\n \"responses\": {\r\n \"204\": {\r\n \"description\": \"\"\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfCustomer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"CustomerAdmin\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Customers\"\r\n ],\r\n \"summary\": \"删除指定的客户ID\",\r\n \"operationId\": \"Customers_DeleteCustomer\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfCustomer\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"TenantAdmin\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Customers\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Customers\"\r\n ],\r\n \"summary\": \"为当前客户所在的租户新增客户\",\r\n \"operationId\": \"Customers_PostCustomer\",\r\n \"requestBody\": {\r\n \"x-name\": \"customer\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/CustomerDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfCustomer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"CustomerAdmin\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/Devices/Customers/All\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定客户的设备列表\",\r\n \"operationId\": \"Devices_GetAllDevices\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfDevice\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfGuid\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/Customers\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定客户的设备列表\",\r\n \"operationId\": \"Devices_GetDevices\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"TenantId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 2\r\n },\r\n {\r\n \"name\": \"DeviceType\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 3\r\n },\r\n {\r\n \"name\": \"LastActive\",\r\n \"in\": \"query\",\r\n \"style\": \"form\",\r\n \"explode\": true,\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n }\r\n },\r\n \"x-position\": 4\r\n },\r\n {\r\n \"name\": \"Online\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n },\r\n \"x-position\": 5\r\n },\r\n {\r\n \"name\": \"Name\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 6\r\n },\r\n {\r\n \"name\": \"offset\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 7\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 8\r\n },\r\n {\r\n \"name\": \"order\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 9\r\n },\r\n {\r\n \"name\": \"where\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 10\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfDeviceDetailDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfGuid\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/Identity\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定设备的认证方式信息\",\r\n \"operationId\": \"Devices_GetIdentity\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDeviceIdentity\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/AttributeLatest\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定设备的最新属性\\n \",\r\n \"operationId\": \"Devices_GetAttributeLatest\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfAttributeDataDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/AttributeLatest/{keys}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定设备指定keys的最新属性\",\r\n \"operationId\": \"Devices_GetAttributeLatest2\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"keys\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Specify key name list , use , or space or ; to split \",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 2\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfAttributeDataDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/TelemetryLatest\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定设备的最新遥测数据\\n \",\r\n \"operationId\": \"Devices_GetTelemetryLatest\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfTelemetryDataDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/TelemetryLatest/{keys}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定设备的指定key 的遥测数据\",\r\n \"operationId\": \"Devices_GetTelemetryLatest2\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"keys\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"指定键值列表, 使用分号或者逗号分割 。 \",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 2\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfTelemetryDataDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/TelemetryLatest/{keyName}/{begin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取指定设备和指定时间, 指定key的数据\",\r\n \"operationId\": \"Devices_GetTelemetryData\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Which device do you read?\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"keys\",\r\n \"in\": \"query\",\r\n \"description\": \"Specify key name list , use , or space or ; to split \",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 2\r\n },\r\n {\r\n \"name\": \"begin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"开始以时间, 比如 2019-06-06 12:24\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"x-position\": 3\r\n },\r\n {\r\n \"name\": \"keyName\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n },\r\n \"x-position\": 4\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfTelemetryDataDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{deviceId}/TelemetryData/{keyName}/{begin}/{end}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"返回指定设备的的遥测数据, 按照keyname 和指定时间范围获取,如果keyname 为 all , 则返回全部key 的数据\",\r\n \"operationId\": \"Devices_GetTelemetryData2\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Which device do you read?\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"keys\",\r\n \"in\": \"query\",\r\n \"description\": \"Specify key name list , use , or space or ; to split \",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 2\r\n },\r\n {\r\n \"name\": \"begin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"开始以时间, 比如 2019-06-06 12:24\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"x-position\": 3\r\n },\r\n {\r\n \"name\": \"end\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"For example: 2019-06-06 12:24\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"x-position\": 4\r\n },\r\n {\r\n \"name\": \"keyName\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n },\r\n \"x-position\": 5\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfTelemetryDataDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取设备详情\",\r\n \"operationId\": \"Devices_GetDevice\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDevice\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfGuid\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"修改设备\",\r\n \"operationId\": \"Devices_PutDevice\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"device\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/DevicePutDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 2\r\n },\r\n \"responses\": {\r\n \"204\": {\r\n \"description\": \"\"\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfGuid\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"CustomerAdmin\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"删除设备\",\r\n \"operationId\": \"Devices_DeleteDevice\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDevice\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfGuid\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"CustomerAdmin\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"创建设备, 客户ID和租户ID均为当前登录用户所属\",\r\n \"operationId\": \"Devices_PostDevice\",\r\n \"requestBody\": {\r\n \"x-name\": \"device\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/DevicePostDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDevice\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDevicePostDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"CustomerAdmin\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/{access_token}/Rpc/{method}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"远程控制指定设备, 此方法通过给远程设备发送mqtt消息进行控制,设备在收到信息后回复结果,此方法才算调用结束\",\r\n \"operationId\": \"Devices_Rpc\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"access_token\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"method\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 2\r\n },\r\n {\r\n \"name\": \"timeout\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 3\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"args\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {}\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 4\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Devices/{access_token}/Telemetry\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"HTTP方式上传遥测数据\",\r\n \"operationId\": \"Devices_Telemetry\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"access_token\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Device 's access token\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"telemetrys\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": {}\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 2\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Devices/{access_token}/Attributes/{dataSide}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"获取服务测的设备熟悉\",\r\n \"operationId\": \"Devices_AttributesGET\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"access_token\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Device 's access token \",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"dataSide\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Specifying data side.\",\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/DataSide\"\r\n },\r\n \"x-position\": 2\r\n },\r\n {\r\n \"name\": \"keys\",\r\n \"in\": \"query\",\r\n \"description\": \"Specifying Attribute's keys\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 3\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/AttributeLatest\"\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Devices/{access_token}/Attributes\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"上传客户侧属性数据\",\r\n \"operationId\": \"Devices_AttributesPOST\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"access_token\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Device 's access token \",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"attributes\",\r\n \"description\": \"attributes\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": {}\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 2\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Devices/SessionStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"SessionStatus\",\r\n \"operationId\": \"Devices_GetSessionStatus\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfIListOfIMqttSessionStatus\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Devices/ClientStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Devices\"\r\n ],\r\n \"summary\": \"SessionStatus\",\r\n \"operationId\": \"Devices_GetClientStatus\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfIListOfIMqttClientStatus\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Dictionary/Index\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Dictionary\"\r\n ],\r\n \"operationId\": \"Dictionary_Index\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/DictionaryParam\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfBaseDictionary\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Dictionary/Get\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Dictionary\"\r\n ],\r\n \"operationId\": \"Dictionary_Get\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBaseDictionary\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Dictionary/Save\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Dictionary\"\r\n ],\r\n \"operationId\": \"Dictionary_Save\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/BaseDictionary\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Dictionary/Update\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Dictionary\"\r\n ],\r\n \"operationId\": \"Dictionary_Update\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/BaseDictionary\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Dictionary/SetStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Dictionary\"\r\n ],\r\n \"operationId\": \"Dictionary_SetStatus\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Dictionary/Delete\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Dictionary\"\r\n ],\r\n \"operationId\": \"Dictionary_Delete\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DictionaryGroup/Index\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DictionaryGroup\"\r\n ],\r\n \"operationId\": \"DictionaryGroup_Index\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/IPageParam\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfBaseDictionaryGroup\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DictionaryGroup/Get\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DictionaryGroup\"\r\n ],\r\n \"operationId\": \"DictionaryGroup_Get\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBaseDictionaryGroup\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DictionaryGroup/SetStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DictionaryGroup\"\r\n ],\r\n \"operationId\": \"DictionaryGroup_SetStatus\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DictionaryGroup/Save\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DictionaryGroup\"\r\n ],\r\n \"operationId\": \"DictionaryGroup_Save\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/BaseDictionaryGroup\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DictionaryGroup/Update\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DictionaryGroup\"\r\n ],\r\n \"operationId\": \"DictionaryGroup_Update\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/BaseDictionaryGroup\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DictionaryGroup/Delete\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DictionaryGroup\"\r\n ],\r\n \"operationId\": \"DictionaryGroup_Delete\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/Index\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_Index\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/IPageParam\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfDynamicFormInfo\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/Get\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_Get\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDynamicFormInfo\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/GetFields\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_GetFields\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfDynamicFormInfo\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/Save\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_Save\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/DynamicFormInfo\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/Update\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_Update\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/DynamicFormInfo\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/Delete\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_Delete\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/SetStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_SetStatus\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/SaveParams\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_SaveParams\",\r\n \"requestBody\": {\r\n \"x-name\": \"model\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/FormFieldData\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/GetParams\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_GetParams\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfObject\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormInfo/GetFormFieldValue\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormInfo\"\r\n ],\r\n \"operationId\": \"DynamicFormInfo_GetFormFieldValue\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"BizId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"FormId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 2\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfDynamicFormFieldInfo\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/DynamicFormRemoteApi/GetDeviceListForComboxDataSouce\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DynamicFormRemoteApi\"\r\n ],\r\n \"operationId\": \"DynamicFormRemoteApi_GetDeviceListForComboxDataSouce\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"q\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfNzOption\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/Current\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Current\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"lang\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfDictionaryOfStringAndString\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/I18N/Index\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Index\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/I18NParam\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfBaseI18N\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/Get\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Get\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBaseI18N\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/CheckExist\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_CheckExist\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"key\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/Save\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Save\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/BaseI18N\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/Delete\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Delete\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/SetStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_SetStatus\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/Update\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Update\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/BaseI18N\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/I18N/Translate\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"I18N\"\r\n ],\r\n \"operationId\": \"I18N_Translate\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"Words\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfBaiduTranslateResult\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Installer/Instance\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Installer\"\r\n ],\r\n \"summary\": \"检查IoTSharp实例信息\",\r\n \"operationId\": \"Installer_Instance\",\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfInstanceDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Installer/Install\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Installer\"\r\n ],\r\n \"operationId\": \"Installer_Install\",\r\n \"requestBody\": {\r\n \"x-name\": \"model\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/InstallDto\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfInstanceDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Menu\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Menu\"\r\n ],\r\n \"operationId\": \"Menu_GetUserAsset\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"type\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfObject\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Menu/GetProfile\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Menu\"\r\n ],\r\n \"operationId\": \"Menu_GetProfile\",\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfObject\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/Index\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_Index\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RulePageParam\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfPagedDataOfFlowRule\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/Save\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_Save\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/FlowRule\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/Update\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_Update\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/FlowRule\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/Delete\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_Delete\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/Get\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_Get\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfFlowRule\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/BindDevice\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_BindDevice\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ModelRuleBind\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/DeleteDeviceRules\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_DeleteDeviceRules\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n },\r\n {\r\n \"name\": \"ruleId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 2\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/GetDeviceRules\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_GetDeviceRules\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"deviceId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfFlowRule\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/GetRuleDevices\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_GetRuleDevices\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"ruleId\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfListOfDevice\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/SaveDiagram\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_SaveDiagram\",\r\n \"requestBody\": {\r\n \"x-name\": \"m\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ModelWorkFlow\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfBoolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/GetDiagram\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_GetDiagram\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"query\",\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfActivity\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Rules/Active\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Rules\"\r\n ],\r\n \"operationId\": \"Rules_Active\",\r\n \"requestBody\": {\r\n \"x-name\": \"form\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {}\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfObject\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Tenants\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Tenants\"\r\n ],\r\n \"summary\": \"系统管理员用来获取全部租户列表\",\r\n \"operationId\": \"Tenants_GetTenantAll\",\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"SystemAdmin\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Tenants\"\r\n ],\r\n \"summary\": \"新增租户, 仅限系统管理员\",\r\n \"operationId\": \"Tenants_PostTenant\",\r\n \"requestBody\": {\r\n \"x-name\": \"tenant\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 1\r\n },\r\n \"responses\": {\r\n \"201\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"SystemAdmin\"\r\n ]\r\n }\r\n ]\r\n }\r\n },\r\n \"/api/Tenants/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Tenants\"\r\n ],\r\n \"summary\": \"普通用户用于活的自身的租户信息\",\r\n \"operationId\": \"Tenants_GetTenant\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"NormalUser\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Tenants\"\r\n ],\r\n \"summary\": \"修改指定的租户信息, 仅限租户管理员\",\r\n \"operationId\": \"Tenants_PutTenant\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"x-name\": \"tenant\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n }\r\n },\r\n \"required\": true,\r\n \"x-position\": 2\r\n },\r\n \"responses\": {\r\n \"204\": {\r\n \"description\": \"\"\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n },\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"TenantAdmin\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Tenants\"\r\n ],\r\n \"summary\": \"删除租户,仅限系统用户\",\r\n \"operationId\": \"Tenants_DeleteTenant\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"x-position\": 1\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"404\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ApiResultOfTenant\"\r\n }\r\n }\r\n }\r\n },\r\n \"default\": {\r\n \"description\": \"\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/ProblemDetails\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": [\r\n \"SystemAdmin\"\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"components\": {\r\n \"schemas\": {\r\n \"ApiResultOfUserInfoDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/UserInfoDto\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"UserInfoDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"code\": {\r\n \"$ref\": \"#/components/schemas/ApiCode\"\r\n },\r\n \"roles\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"avatar\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"introduction\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"customer\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n }\r\n ]\r\n },\r\n \"tenant\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n ]\r\n },\r\n \"email\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"phoneNumber\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiCode\": {\r\n \"type\": \"integer\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"Success\",\r\n \"LoginError\",\r\n \"Exception\",\r\n \"AlreadyExists\",\r\n \"NotFoundTenantOrCustomer\",\r\n \"NotFoundDevice\",\r\n \"NotFoundCustomer\",\r\n \"NothingToDo\",\r\n \"DoNotAllow\",\r\n \"NotFoundTenant\",\r\n \"NotFoundDeviceIdentity\",\r\n \"RPCFailed\",\r\n \"RPCTimeout\",\r\n \"CustomerDoesNotHaveDevice\",\r\n \"CreateUserFailed\",\r\n \"CantFindObject\",\r\n \"InValidData\"\r\n ],\r\n \"enum\": [\r\n 10000,\r\n 10001,\r\n 10002,\r\n 10003,\r\n 10004,\r\n 10005,\r\n 10006,\r\n 10007,\r\n 10008,\r\n 10009,\r\n 10010,\r\n 10011,\r\n 10012,\r\n 10013,\r\n 10014,\r\n 10015,\r\n 10016\r\n ]\r\n },\r\n \"Customer\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"email\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"phone\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"country\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"province\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"city\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"street\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"address\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"zipCode\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n }\r\n },\r\n \"Tenant\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"eMail\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"phone\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"country\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"province\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"city\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"street\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"address\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"zipCode\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n }\r\n },\r\n \"ApiResult\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"code\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"msg\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfLoginResult\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/LoginResult\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"LoginResult\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"code\": {\r\n \"description\": \"登录结果\",\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiCode\"\r\n }\r\n ]\r\n },\r\n \"userName\": {\r\n \"type\": \"string\",\r\n \"description\": \"用户名\",\r\n \"nullable\": true\r\n },\r\n \"signIn\": {\r\n \"description\": \"登录结果\",\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/SignInResult\"\r\n }\r\n ]\r\n },\r\n \"succeeded\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"是否成功\"\r\n },\r\n \"token\": {\r\n \"description\": \"Token\",\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/TokenEntity\"\r\n }\r\n ]\r\n },\r\n \"roles\": {\r\n \"type\": \"array\",\r\n \"description\": \"用户所具备权限\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n },\r\n \"SignInResult\": {\r\n \"type\": \"object\",\r\n \"description\": \"Represents the result of a sign-in operation.\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"succeeded\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"Returns a flag indication whether the sign-in was successful.\"\r\n },\r\n \"isLockedOut\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"Returns a flag indication whether the user attempting to sign-in is locked out.\"\r\n },\r\n \"isNotAllowed\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"Returns a flag indication whether the user attempting to sign-in is not allowed to sign-in.\"\r\n },\r\n \"requiresTwoFactor\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"Returns a flag indication whether the user attempting to sign-in requires two factor authentication.\"\r\n }\r\n }\r\n },\r\n \"TokenEntity\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"access_token\": {\r\n \"type\": \"string\",\r\n \"description\": \"token\",\r\n \"nullable\": true\r\n },\r\n \"expires_in\": {\r\n \"type\": \"integer\",\r\n \"description\": \"过期时间\",\r\n \"format\": \"int64\"\r\n }\r\n }\r\n },\r\n \"ProblemDetails\": {\r\n \"type\": \"object\",\r\n \"description\": \"A machine-readable format for specifying errors in HTTP API responses based on https://tools.ietf.org/html/rfc7807.\",\r\n \"additionalProperties\": {\r\n \"nullable\": true\r\n },\r\n \"properties\": {\r\n \"type\": {\r\n \"type\": \"string\",\r\n \"description\": \"A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when\\ndereferenced, it provide human-readable documentation for the problem type\\n(e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be\\n\\\"about:blank\\\".\",\r\n \"nullable\": true\r\n },\r\n \"title\": {\r\n \"type\": \"string\",\r\n \"description\": \"A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence\\nof the problem, except for purposes of localization(e.g., using proactive content negotiation;\\nsee[RFC7231], Section 3.4).\",\r\n \"nullable\": true\r\n },\r\n \"status\": {\r\n \"type\": \"integer\",\r\n \"description\": \"The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"detail\": {\r\n \"type\": \"string\",\r\n \"description\": \"A human-readable explanation specific to this occurrence of the problem.\",\r\n \"nullable\": true\r\n },\r\n \"instance\": {\r\n \"type\": \"string\",\r\n \"description\": \"A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced.\",\r\n \"nullable\": true\r\n },\r\n \"extensions\": {\r\n \"type\": \"object\",\r\n \"description\": \"Gets the IDictionary`2 for extension members.\\n\\nProblem type definitions MAY extend the problem details object with additional members. Extension members appear in the same namespace as\\nother members of a problem type.\",\r\n \"nullable\": true,\r\n \"additionalProperties\": {}\r\n }\r\n }\r\n },\r\n \"LoginDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"required\": [\r\n \"password\",\r\n \"userName\"\r\n ],\r\n \"properties\": {\r\n \"password\": {\r\n \"type\": \"string\",\r\n \"description\": \"密码\",\r\n \"minLength\": 1\r\n },\r\n \"userName\": {\r\n \"type\": \"string\",\r\n \"description\": \"用户名\",\r\n \"minLength\": 1\r\n }\r\n }\r\n },\r\n \"ApiResultOfBoolean\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"RegisterDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"required\": [\r\n \"email\",\r\n \"phoneNumber\",\r\n \"customer\",\r\n \"password\"\r\n ],\r\n \"properties\": {\r\n \"email\": {\r\n \"type\": \"string\",\r\n \"description\": \"邮箱地址, 也是用户名,一个邮箱只能注册平台的一个客户,如果你在平台有两个租户都有账号,则需要两个邮箱地址。 \",\r\n \"minLength\": 1\r\n },\r\n \"phoneNumber\": {\r\n \"type\": \"string\",\r\n \"description\": \"电话号码\",\r\n \"minLength\": 1\r\n },\r\n \"customer\": {\r\n \"type\": \"string\",\r\n \"description\": \"用户隶属客户邮箱地址\",\r\n \"minLength\": 1\r\n },\r\n \"password\": {\r\n \"type\": \"string\",\r\n \"description\": \"用户名密码\",\r\n \"maxLength\": 100,\r\n \"minLength\": 6\r\n }\r\n }\r\n },\r\n \"ApiResultOfListOfUserItemDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/UserItemDto\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"UserItemDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"email\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"roles\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"phoneNumber\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"accessFailedCount\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfUserItemDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/UserItemDto\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"UserPassword\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"pass\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"passNew\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"passNewSecond\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"AuthorizedKey\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"authToken\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfAuthorizedKey\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/AuthorizedKey\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"AuthorizedKeyDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"authToken\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfListOfCustomer\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfPagedDataOfCustomer\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfCustomer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfCustomer\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"CustomerParam\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/IPageParam\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"tenantId\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"IPageParam\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"offset\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"limit\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"order\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"where\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfCustomer\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"CustomerDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"tenantID\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfListOfDevice\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/Device\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"Device\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"deviceType\": {\r\n \"$ref\": \"#/components/schemas/DeviceType\"\r\n },\r\n \"online\": {\r\n \"type\": \"boolean\"\r\n },\r\n \"lastActive\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"timeout\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"owner\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Gateway\"\r\n }\r\n ]\r\n },\r\n \"tenant\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n ]\r\n },\r\n \"customer\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n \"DeviceType\": {\r\n \"type\": \"string\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"Device\",\r\n \"Gateway\"\r\n ],\r\n \"enum\": [\r\n \"Device\",\r\n \"Gateway\"\r\n ]\r\n },\r\n \"Gateway\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Device\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false\r\n }\r\n ]\r\n },\r\n \"ApiResultOfGuid\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfPagedDataOfDeviceDetailDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfDeviceDetailDto\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfDeviceDetailDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/DeviceDetailDto\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"DeviceDetailDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"description\": \"设备名称\",\r\n \"nullable\": true\r\n },\r\n \"deviceType\": {\r\n \"description\": \"设备类型\",\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/DeviceType\"\r\n }\r\n ]\r\n },\r\n \"online\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"在线\"\r\n },\r\n \"lastActive\": {\r\n \"type\": \"string\",\r\n \"description\": \"最后一次活跃时间\",\r\n \"format\": \"date-time\"\r\n },\r\n \"timeout\": {\r\n \"type\": \"integer\",\r\n \"description\": \"超时时间 秒数 \",\r\n \"format\": \"int32\"\r\n },\r\n \"owner\": {\r\n \"description\": \"所有者\",\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Gateway\"\r\n }\r\n ]\r\n },\r\n \"tenant\": {\r\n \"description\": \"租户\",\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n ]\r\n },\r\n \"customer\": {\r\n \"description\": \"客户\",\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Customer\"\r\n }\r\n ]\r\n },\r\n \"identityType\": {\r\n \"$ref\": \"#/components/schemas/IdentityType\"\r\n },\r\n \"identityValue\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"identityId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"IdentityType\": {\r\n \"type\": \"string\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"AccessToken\",\r\n \"DevicePassword\",\r\n \"X509Certificate\"\r\n ],\r\n \"enum\": [\r\n \"AccessToken\",\r\n \"DevicePassword\",\r\n \"X509Certificate\"\r\n ]\r\n },\r\n \"ApiResultOfDeviceIdentity\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/DeviceIdentity\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"DeviceIdentity\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"required\": [\r\n \"identityType\",\r\n \"identityId\"\r\n ],\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"identityType\": {\r\n \"$ref\": \"#/components/schemas/IdentityType\"\r\n },\r\n \"identityId\": {\r\n \"type\": \"string\",\r\n \"minLength\": 1\r\n },\r\n \"identityValue\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfListOfAttributeDataDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/AttributeDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"AttributeDataDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"keyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dataSide\": {\r\n \"$ref\": \"#/components/schemas/DataSide\"\r\n },\r\n \"dateTime\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"value\": {\r\n \"nullable\": true\r\n },\r\n \"dataType\": {\r\n \"$ref\": \"#/components/schemas/DataType\"\r\n }\r\n }\r\n },\r\n \"DataSide\": {\r\n \"type\": \"string\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"AnySide\",\r\n \"ServerSide\",\r\n \"ClientSide\"\r\n ],\r\n \"enum\": [\r\n \"AnySide\",\r\n \"ServerSide\",\r\n \"ClientSide\"\r\n ]\r\n },\r\n \"DataType\": {\r\n \"type\": \"string\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"Boolean\",\r\n \"String\",\r\n \"Long\",\r\n \"Double\",\r\n \"Json\",\r\n \"XML\",\r\n \"Binary\",\r\n \"DateTime\"\r\n ],\r\n \"enum\": [\r\n \"Boolean\",\r\n \"String\",\r\n \"Long\",\r\n \"Double\",\r\n \"Json\",\r\n \"XML\",\r\n \"Binary\",\r\n \"DateTime\"\r\n ]\r\n },\r\n \"ApiResultOfListOfTelemetryDataDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/TelemetryDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"TelemetryDataDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"keyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dateTime\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"dataType\": {\r\n \"$ref\": \"#/components/schemas/DataType\"\r\n },\r\n \"value\": {\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfDevice\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Device\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"DevicePutDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfDevicePostDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/DevicePostDto\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"DevicePostDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"deviceType\": {\r\n \"$ref\": \"#/components/schemas/DeviceType\"\r\n }\r\n }\r\n },\r\n \"ApiResultOfDictionaryOfStringAndString\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"object\",\r\n \"nullable\": true,\r\n \"additionalProperties\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"AttributeLatest\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/DataStorage\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false\r\n }\r\n ]\r\n },\r\n \"DataStorage\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"catalog\": {\r\n \"$ref\": \"#/components/schemas/DataCatalog\"\r\n },\r\n \"keyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dateTime\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"dataSide\": {\r\n \"$ref\": \"#/components/schemas/DataSide\"\r\n },\r\n \"type\": {\r\n \"$ref\": \"#/components/schemas/DataType\"\r\n },\r\n \"value_Boolean\": {\r\n \"type\": \"boolean\",\r\n \"nullable\": true\r\n },\r\n \"value_String\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"value_Long\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"value_DateTime\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true\r\n },\r\n \"value_Double\": {\r\n \"type\": \"number\",\r\n \"format\": \"double\",\r\n \"nullable\": true\r\n },\r\n \"value_Json\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"value_XML\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"value_Binary\": {\r\n \"type\": \"string\",\r\n \"format\": \"byte\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"DataCatalog\": {\r\n \"type\": \"integer\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"None\",\r\n \"AttributeData\",\r\n \"AttributeLatest\",\r\n \"TelemetryData\",\r\n \"TelemetryLatest\"\r\n ],\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2,\r\n 3,\r\n 4\r\n ]\r\n },\r\n \"ApiResultOfIListOfIMqttSessionStatus\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/IMqttSessionStatus\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"IMqttSessionStatus\": {\r\n \"type\": \"object\",\r\n \"x-abstract\": true,\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"clientId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"pendingApplicationMessagesCount\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"items\": {\r\n \"type\": \"object\",\r\n \"nullable\": true,\r\n \"additionalProperties\": {}\r\n }\r\n }\r\n },\r\n \"ApiResultOfIListOfIMqttClientStatus\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/IMqttClientStatus\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"IMqttClientStatus\": {\r\n \"type\": \"object\",\r\n \"x-abstract\": true,\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"clientId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"endpoint\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"protocolVersion\": {\r\n \"$ref\": \"#/components/schemas/MqttProtocolVersion\"\r\n },\r\n \"lastPacketReceivedTimestamp\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"lastNonKeepAlivePacketReceivedTimestamp\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"receivedApplicationMessagesCount\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"sentApplicationMessagesCount\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"receivedPacketsCount\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"sentPacketsCount\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"session\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/IMqttSessionStatus\"\r\n }\r\n ]\r\n },\r\n \"bytesSent\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"bytesReceived\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n }\r\n },\r\n \"MqttProtocolVersion\": {\r\n \"type\": \"integer\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"Unknown\",\r\n \"V310\",\r\n \"V311\",\r\n \"V500\"\r\n ],\r\n \"enum\": [\r\n 0,\r\n 3,\r\n 4,\r\n 5\r\n ]\r\n },\r\n \"ApiResultOfPagedDataOfBaseDictionary\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfBaseDictionary\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfBaseDictionary\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BaseDictionary\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"BaseDictionary\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"dictionaryId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"dictionaryName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryValue\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionary18NKeyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryStatus\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryValueType\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryValueTypeName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryPattern\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryDesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryColor\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryIcon\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryTag\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"DictionaryParam\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/IPageParam\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"dictionaryName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfBaseDictionary\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/BaseDictionary\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfPagedDataOfBaseDictionaryGroup\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfBaseDictionaryGroup\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfBaseDictionaryGroup\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BaseDictionaryGroup\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"BaseDictionaryGroup\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"dictionaryGroupId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"dictionaryGroupName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupKey\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupValueType\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupStatus\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupValueTypeName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroupDesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dictionaryGroup18NKeyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfBaseDictionaryGroup\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/BaseDictionaryGroup\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfPagedDataOfDynamicFormInfo\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfDynamicFormInfo\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfDynamicFormInfo\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/DynamicFormInfo\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"DynamicFormInfo\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"formId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"bizId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"formCreator\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"formName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"formDesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"formStatus\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"formSchame\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"modelClass\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"url\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"creator\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"fromCreateDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true\r\n },\r\n \"formLayout\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"isCompact\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"ApiResultOfDynamicFormInfo\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/DynamicFormInfo\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfListOfDynamicFormInfo\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/DynamicFormInfo\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"FormFieldData\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"propdata\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/FieldData\"\r\n }\r\n }\r\n }\r\n },\r\n \"FieldData\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"fieldId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"fieldName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldValue\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldValueType\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"fieldMaxLength\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"fieldValueDataSource\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldPattern\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldI18nKey\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldUIElementSchema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldCode\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldUIElement\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"isRequired\": {\r\n \"type\": \"boolean\"\r\n },\r\n \"fieldUnit\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfObject\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfListOfDynamicFormFieldInfo\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/DynamicFormFieldInfo\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"DynamicFormFieldInfo\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"fieldId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"fieldName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldValue\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldValueType\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"formId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"creator\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"fieldCreateDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true\r\n },\r\n \"fieldEditDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true\r\n },\r\n \"fieldCode\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldUnit\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"isRequired\": {\r\n \"type\": \"boolean\",\r\n \"nullable\": true\r\n },\r\n \"isEnabled\": {\r\n \"type\": \"boolean\",\r\n \"nullable\": true\r\n },\r\n \"fieldStatus\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"fieldI18nKey\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldValueDataSource\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldValueLocalDataSource\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldPattern\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldMaxLength\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"fieldValueTypeName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldUIElement\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"fieldUIElementSchema\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"fieldPocoTypeName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfListOfNzOption\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/NzOption\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"NzOption\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"label\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"title\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"value\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfPagedDataOfBaseI18N\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfBaseI18N\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfBaseI18N\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BaseI18N\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"BaseI18N\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"userId\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"status\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"keyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueBG\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueCS\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueDA\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueDEDE\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueESES\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueENUS\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueENGR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueELGR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueFI\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueFRFR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueHE\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueHRHR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueHU\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueITIT\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueJAJP\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueKOKR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueNL\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valuePLPL\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valuePT\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueSLSL\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueTRTR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueSR\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueSV\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueUK\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueVI\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueZHCN\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"valueZHTW\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"resourceType\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"resourceId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\",\r\n \"nullable\": true\r\n },\r\n \"resourceKey\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"resourceTag\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"resouceDesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"resouceGroupId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"addDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"I18NParam\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/IPageParam\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"keyName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfBaseI18N\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/BaseI18N\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfListOfBaiduTranslateResult\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BaiduTranslateResult\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"BaiduTranslateResult\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"from\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"to\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"trans_result\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/TranslateResult\"\r\n }\r\n }\r\n }\r\n },\r\n \"TranslateResult\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"src\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dst\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfInstanceDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/InstanceDto\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"InstanceDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"version\": {\r\n \"type\": \"string\",\r\n \"description\": \"系统版本\",\r\n \"nullable\": true\r\n },\r\n \"installed\": {\r\n \"type\": \"boolean\",\r\n \"description\": \"是否被安装\"\r\n }\r\n }\r\n },\r\n \"InstallDto\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"required\": [\r\n \"email\",\r\n \"customerName\",\r\n \"password\"\r\n ],\r\n \"properties\": {\r\n \"email\": {\r\n \"type\": \"string\",\r\n \"description\": \"系统管理员用户名\",\r\n \"format\": \"email\",\r\n \"minLength\": 1\r\n },\r\n \"customerName\": {\r\n \"type\": \"string\",\r\n \"description\": \"客户名称\",\r\n \"minLength\": 1\r\n },\r\n \"password\": {\r\n \"type\": \"string\",\r\n \"description\": \"系统管理员密码\",\r\n \"maxLength\": 100,\r\n \"minLength\": 6\r\n },\r\n \"tenantName\": {\r\n \"type\": \"string\",\r\n \"description\": \"租户姓名\",\r\n \"nullable\": true\r\n },\r\n \"tenantEMail\": {\r\n \"type\": \"string\",\r\n \"description\": \"租户邮箱\",\r\n \"format\": \"email\",\r\n \"nullable\": true\r\n },\r\n \"customerEMail\": {\r\n \"type\": \"string\",\r\n \"description\": \"客户邮箱\",\r\n \"format\": \"email\",\r\n \"nullable\": true\r\n },\r\n \"phoneNumber\": {\r\n \"type\": \"string\",\r\n \"description\": \"电话号码\",\r\n \"format\": \"phone\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfPagedDataOfFlowRule\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/PagedDataOfFlowRule\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PagedDataOfFlowRule\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"total\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"rows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/FlowRule\"\r\n }\r\n },\r\n \"hasNextPageData\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n },\r\n \"FlowRule\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"properties\": {\r\n \"ruleId\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"ruleType\": {\r\n \"$ref\": \"#/components/schemas/RuleType\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"minLength\": 1\r\n },\r\n \"describes\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"runner\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"executableCode\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"creator\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"ruleDesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"ruleStatus\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"nullable\": true\r\n },\r\n \"creatTime\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\",\r\n \"nullable\": true\r\n },\r\n \"definitionsXml\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"RuleType\": {\r\n \"type\": \"string\",\r\n \"description\": \"\",\r\n \"x-enumNames\": [\r\n \"RuleNode\",\r\n \"RuleSwitcher\"\r\n ],\r\n \"enum\": [\r\n \"RuleNode\",\r\n \"RuleSwitcher\"\r\n ]\r\n },\r\n \"RulePageParam\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/IPageParam\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"creator\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"creatTime\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfFlowRule\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/FlowRule\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ModelRuleBind\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"rule\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"dev\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n }\r\n }\r\n }\r\n },\r\n \"ApiResultOfListOfFlowRule\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/FlowRule\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ModelWorkFlow\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"xml\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"biz\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"ApiResultOfActivity\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Activity\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"Activity\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"ruleId\": {\r\n \"type\": \"string\",\r\n \"format\": \"guid\"\r\n },\r\n \"definitionsDesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"definitionsName\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"definitionsStatus\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"tasks\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BaseTask\"\r\n }\r\n },\r\n \"gateWays\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/GateWay\"\r\n }\r\n },\r\n \"sequenceFlows\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/SequenceFlow\"\r\n }\r\n },\r\n \"laneSet\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"endEvents\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"startEvents\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"containers\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"baseBpmnObjects\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"dataStoreReferences\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"subProcesses\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"dataOutputAssociations\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"dataInputAssociations\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"lane\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"textAnnotations\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"xml\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"BaseTask\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false\r\n }\r\n ]\r\n },\r\n \"BpmnBaseObject\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"flowname\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"id\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"incoming\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"outgoing\": {\r\n \"type\": \"array\",\r\n \"nullable\": true,\r\n \"items\": {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n }\r\n },\r\n \"bizObject\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/FormBpmnObject\"\r\n }\r\n ]\r\n },\r\n \"bpmntype\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"FormBpmnObject\": {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"flowid\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"flowname\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"flowdesc\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"flowtype\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"nodeProcessClass\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"conditionexpression\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"nodeProcessParams\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"flowscript\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"flowscripttype\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n },\r\n \"GateWay\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"sourceId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"targetId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"SequenceFlow\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/BpmnBaseObject\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"sourceId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"targetId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ApiResultOfTenant\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/ApiResult\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"additionalProperties\": false,\r\n \"properties\": {\r\n \"data\": {\r\n \"nullable\": true,\r\n \"oneOf\": [\r\n {\r\n \"$ref\": \"#/components/schemas/Tenant\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"securitySchemes\": {\r\n \"JWT\": {\r\n \"type\": \"apiKey\",\r\n \"description\": \"Type into the textbox: Bearer {your JWT token}.\",\r\n \"name\": \"Authorization\",\r\n \"in\": \"header\"\r\n }\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"JWT\": []\r\n }\r\n ]\r\n}", "url": "http://localhost:5000/swagger/v1/swagger.json", "output": null, "newLineBehavior": "Auto" } }, "codeGenerators": { "openApiToCSharpClient": { "clientBaseClass": "", "configurationClass": null, "generateClientClasses": true, "generateClientInterfaces": false, "clientBaseInterface": null, "injectHttpClient": true, "disposeHttpClient": true, "protectedMethods": [], "generateExceptionClasses": true, "exceptionClass": "SwaggerException", "wrapDtoExceptions": true, "useHttpClientCreationMethod": false, "httpClientType": "System.Net.Http.HttpClient", "useHttpRequestMessageCreationMethod": false, "useBaseUrl": true, "generateBaseUrlProperty": true, "generateSyncMethods": false, "generatePrepareRequestAndProcessResponseAsAsyncMethods": false, "exposeJsonSerializerSettings": false, "clientClassAccessModifier": "public", "typeAccessModifier": "public", "generateContractsOutput": false, "contractsNamespace": null, "contractsOutputFilePath": null, "parameterDateTimeFormat": "s", "parameterDateFormat": "yyyy-MM-dd", "generateUpdateJsonSerializerSettingsMethod": true, "useRequestAndResponseSerializationSettings": false, "serializeTypeInformation": false, "queryNullValue": "", "className": "{controller}Client", "operationGenerationMode": "MultipleClientsFromOperationId", "additionalNamespaceUsages": [], "additionalContractNamespaceUsages": [], "generateOptionalParameters": false, "generateJsonMethods": true, "enforceFlagEnums": false, "parameterArrayType": "System.Collections.Generic.IEnumerable", "parameterDictionaryType": "System.Collections.Generic.IDictionary", "responseArrayType": "System.Collections.Generic.ICollection", "responseDictionaryType": "System.Collections.Generic.IDictionary", "wrapResponses": false, "wrapResponseMethods": [], "generateResponseClasses": true, "responseClass": "SwaggerResponse", "namespace": "IoTSharp.Sdk.Http", "requiredPropertiesMustBeDefined": true, "dateType": "System.DateTime", "jsonConverters": null, "anyType": "object", "dateTimeType": "System.DateTime", "timeType": "System.TimeSpan", "timeSpanType": "System.TimeSpan", "arrayType": "System.Collections.Generic.ICollection", "arrayInstanceType": "System.Collections.ObjectModel.Collection", "dictionaryType": "System.Collections.Generic.IDictionary", "dictionaryInstanceType": "System.Collections.Generic.Dictionary", "arrayBaseType": "System.Collections.ObjectModel.Collection", "dictionaryBaseType": "System.Collections.Generic.Dictionary", "classStyle": "Poco", "jsonLibrary": "NewtonsoftJson", "generateDefaultValues": true, "generateDataAnnotations": true, "excludedTypeNames": [], "excludedParameterNames": [], "handleReferences": false, "generateImmutableArrayProperties": false, "generateImmutableDictionaryProperties": false, "jsonSerializerSettingsTransformationMethod": null, "inlineNamedArrays": false, "inlineNamedDictionaries": false, "inlineNamedTuples": true, "inlineNamedAny": false, "generateDtoTypes": true, "generateOptionalPropertiesAsNullable": false, "generateNullableReferenceTypes": false, "templateDirectory": null, "typeNameGeneratorType": null, "propertyNameGeneratorType": null, "enumNameGeneratorType": null, "serviceHost": null, "serviceSchemes": null, "output": "ApiClients.cs", "newLineBehavior": "Auto" } } }