diff --git a/docs/admin/admin_docs.go b/docs/admin/admin_docs.go index 84272cd..a212079 100644 --- a/docs/admin/admin_docs.go +++ b/docs/admin/admin_docs.go @@ -1783,7 +1783,7 @@ const docTemplateadmin = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/Gwen_http_request_admin.Login" + "$ref": "#/definitions/github_com_lejianwen_rustdesk-api_http_request_admin.Login" } } ], @@ -5104,27 +5104,6 @@ const docTemplateadmin = `{ } }, "definitions": { - "Gwen_http_request_admin.Login": { - "type": "object", - "required": [ - "password", - "username" - ], - "properties": { - "captcha": { - "type": "string" - }, - "password": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "username": { - "type": "string" - } - } - }, "admin.AddressBookForm": { "type": "object", "required": [ @@ -5542,6 +5521,27 @@ const docTemplateadmin = `{ } } }, + "github_com_lejianwen_rustdesk-api_http_request_admin.Login": { + "type": "object", + "required": [ + "password", + "username" + ], + "properties": { + "captcha": { + "type": "string" + }, + "password": { + "type": "string" + }, + "platform": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, "model.AddressBook": { "type": "object", "properties": { diff --git a/docs/admin/admin_swagger.json b/docs/admin/admin_swagger.json index 86605ed..7264375 100644 --- a/docs/admin/admin_swagger.json +++ b/docs/admin/admin_swagger.json @@ -1776,7 +1776,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/Gwen_http_request_admin.Login" + "$ref": "#/definitions/github_com_lejianwen_rustdesk-api_http_request_admin.Login" } } ], @@ -5097,27 +5097,6 @@ } }, "definitions": { - "Gwen_http_request_admin.Login": { - "type": "object", - "required": [ - "password", - "username" - ], - "properties": { - "captcha": { - "type": "string" - }, - "password": { - "type": "string" - }, - "platform": { - "type": "string" - }, - "username": { - "type": "string" - } - } - }, "admin.AddressBookForm": { "type": "object", "required": [ @@ -5535,6 +5514,27 @@ } } }, + "github_com_lejianwen_rustdesk-api_http_request_admin.Login": { + "type": "object", + "required": [ + "password", + "username" + ], + "properties": { + "captcha": { + "type": "string" + }, + "password": { + "type": "string" + }, + "platform": { + "type": "string" + }, + "username": { + "type": "string" + } + } + }, "model.AddressBook": { "type": "object", "properties": { diff --git a/docs/admin/admin_swagger.yaml b/docs/admin/admin_swagger.yaml index 894ce2a..0927b76 100644 --- a/docs/admin/admin_swagger.yaml +++ b/docs/admin/admin_swagger.yaml @@ -1,19 +1,5 @@ basePath: /api definitions: - Gwen_http_request_admin.Login: - properties: - captcha: - type: string - password: - type: string - platform: - type: string - username: - type: string - required: - - password - - username - type: object admin.AddressBookForm: properties: alias: @@ -292,6 +278,20 @@ definitions: required: - ids type: object + github_com_lejianwen_rustdesk-api_http_request_admin.Login: + properties: + captcha: + type: string + password: + type: string + platform: + type: string + username: + type: string + required: + - password + - username + type: object model.AddressBook: properties: alias: @@ -1830,7 +1830,7 @@ paths: name: body required: true schema: - $ref: '#/definitions/Gwen_http_request_admin.Login' + $ref: '#/definitions/github_com_lejianwen_rustdesk-api_http_request_admin.Login' produces: - application/json responses: