lejianwen месяцев назад: 11
Родитель
Сommit
0e160f110b
3 измененных файлов с 59 добавлено и 59 удалено
  1. 22 22
      docs/admin/admin_docs.go
  2. 22 22
      docs/admin/admin_swagger.json
  3. 15 15
      docs/admin/admin_swagger.yaml

+ 22 - 22
docs/admin/admin_docs.go

@@ -1783,7 +1783,7 @@ const docTemplateadmin = `{
1783
                         "in": "body",
1783
                         "in": "body",
1784
                         "required": true,
1784
                         "required": true,
1785
                         "schema": {
1785
                         "schema": {
1786
-                            "$ref": "#/definitions/Gwen_http_request_admin.Login"
1786
+                            "$ref": "#/definitions/github_com_lejianwen_rustdesk-api_http_request_admin.Login"
1787
                         }
1787
                         }
1788
                     }
1788
                     }
1789
                 ],
1789
                 ],
@@ -5104,27 +5104,6 @@ const docTemplateadmin = `{
5104
         }
5104
         }
5105
     },
5105
     },
5106
     "definitions": {
5106
     "definitions": {
5107
-        "Gwen_http_request_admin.Login": {
5108
-            "type": "object",
5109
-            "required": [
5110
-                "password",
5111
-                "username"
5112
-            ],
5113
-            "properties": {
5114
-                "captcha": {
5115
-                    "type": "string"
5116
-                },
5117
-                "password": {
5118
-                    "type": "string"
5119
-                },
5120
-                "platform": {
5121
-                    "type": "string"
5122
-                },
5123
-                "username": {
5124
-                    "type": "string"
5125
-                }
5126
-            }
5127
-        },
5128
         "admin.AddressBookForm": {
5107
         "admin.AddressBookForm": {
5129
             "type": "object",
5108
             "type": "object",
5130
             "required": [
5109
             "required": [
@@ -5542,6 +5521,27 @@ const docTemplateadmin = `{
5542
                 }
5521
                 }
5543
             }
5522
             }
5544
         },
5523
         },
5524
+        "github_com_lejianwen_rustdesk-api_http_request_admin.Login": {
5525
+            "type": "object",
5526
+            "required": [
5527
+                "password",
5528
+                "username"
5529
+            ],
5530
+            "properties": {
5531
+                "captcha": {
5532
+                    "type": "string"
5533
+                },
5534
+                "password": {
5535
+                    "type": "string"
5536
+                },
5537
+                "platform": {
5538
+                    "type": "string"
5539
+                },
5540
+                "username": {
5541
+                    "type": "string"
5542
+                }
5543
+            }
5544
+        },
5545
         "model.AddressBook": {
5545
         "model.AddressBook": {
5546
             "type": "object",
5546
             "type": "object",
5547
             "properties": {
5547
             "properties": {

+ 22 - 22
docs/admin/admin_swagger.json

@@ -1776,7 +1776,7 @@
1776
                         "in": "body",
1776
                         "in": "body",
1777
                         "required": true,
1777
                         "required": true,
1778
                         "schema": {
1778
                         "schema": {
1779
-                            "$ref": "#/definitions/Gwen_http_request_admin.Login"
1779
+                            "$ref": "#/definitions/github_com_lejianwen_rustdesk-api_http_request_admin.Login"
1780
                         }
1780
                         }
1781
                     }
1781
                     }
1782
                 ],
1782
                 ],
@@ -5097,27 +5097,6 @@
5097
         }
5097
         }
5098
     },
5098
     },
5099
     "definitions": {
5099
     "definitions": {
5100
-        "Gwen_http_request_admin.Login": {
5101
-            "type": "object",
5102
-            "required": [
5103
-                "password",
5104
-                "username"
5105
-            ],
5106
-            "properties": {
5107
-                "captcha": {
5108
-                    "type": "string"
5109
-                },
5110
-                "password": {
5111
-                    "type": "string"
5112
-                },
5113
-                "platform": {
5114
-                    "type": "string"
5115
-                },
5116
-                "username": {
5117
-                    "type": "string"
5118
-                }
5119
-            }
5120
-        },
5121
         "admin.AddressBookForm": {
5100
         "admin.AddressBookForm": {
5122
             "type": "object",
5101
             "type": "object",
5123
             "required": [
5102
             "required": [
@@ -5535,6 +5514,27 @@
5535
                 }
5514
                 }
5536
             }
5515
             }
5537
         },
5516
         },
5517
+        "github_com_lejianwen_rustdesk-api_http_request_admin.Login": {
5518
+            "type": "object",
5519
+            "required": [
5520
+                "password",
5521
+                "username"
5522
+            ],
5523
+            "properties": {
5524
+                "captcha": {
5525
+                    "type": "string"
5526
+                },
5527
+                "password": {
5528
+                    "type": "string"
5529
+                },
5530
+                "platform": {
5531
+                    "type": "string"
5532
+                },
5533
+                "username": {
5534
+                    "type": "string"
5535
+                }
5536
+            }
5537
+        },
5538
         "model.AddressBook": {
5538
         "model.AddressBook": {
5539
             "type": "object",
5539
             "type": "object",
5540
             "properties": {
5540
             "properties": {

+ 15 - 15
docs/admin/admin_swagger.yaml

@@ -1,19 +1,5 @@
1
 basePath: /api
1
 basePath: /api
2
 definitions:
2
 definitions:
3
-  Gwen_http_request_admin.Login:
4
-    properties:
5
-      captcha:
6
-        type: string
7
-      password:
8
-        type: string
9
-      platform:
10
-        type: string
11
-      username:
12
-        type: string
13
-    required:
14
-    - password
15
-    - username
16
-    type: object
17
   admin.AddressBookForm:
3
   admin.AddressBookForm:
18
     properties:
4
     properties:
19
       alias:
5
       alias:
@@ -292,6 +278,20 @@ definitions:
292
     required:
278
     required:
293
     - ids
279
     - ids
294
     type: object
280
     type: object
281
+  github_com_lejianwen_rustdesk-api_http_request_admin.Login:
282
+    properties:
283
+      captcha:
284
+        type: string
285
+      password:
286
+        type: string
287
+      platform:
288
+        type: string
289
+      username:
290
+        type: string
291
+    required:
292
+    - password
293
+    - username
294
+    type: object
295
   model.AddressBook:
295
   model.AddressBook:
296
     properties:
296
     properties:
297
       alias:
297
       alias:
@@ -1830,7 +1830,7 @@ paths:
1830
         name: body
1830
         name: body
1831
         required: true
1831
         required: true
1832
         schema:
1832
         schema:
1833
-          $ref: '#/definitions/Gwen_http_request_admin.Login'
1833
+          $ref: '#/definitions/github_com_lejianwen_rustdesk-api_http_request_admin.Login'
1834
       produces:
1834
       produces:
1835
       - application/json
1835
       - application/json
1836
       responses:
1836
       responses: