Refactor: migrate discordbot
All checks were successful
Go test / run-go-vet (push) Successful in 20s
Go test / check-swagger-up-to-date (push) Successful in 9s
Go test / run-go-test (push) Successful in 47s
Go test / cleanup-go-test (push) Successful in 4s
Go test / release-image (push) Successful in 3m35s

This commit is contained in:
2025-12-13 02:03:01 +08:00
parent 0fc8f1f08c
commit 47f09b733a
23 changed files with 613 additions and 66 deletions

View File

@@ -1,13 +1,13 @@
basePath: /
definitions:
api.getAliasesOutputAlias:
api.GetAliasesOutputAlias:
properties:
id:
type: integer
name:
type: string
type: object
api.getImagesOutputImage:
api.GetImagesOutputImage:
properties:
aliasesIds:
items:
@@ -40,12 +40,12 @@ definitions:
type: string
type: array
type: object
auth.postGenLoginUrlInput:
auth.PostGenLoginUrlInput:
properties:
userId:
type: string
type: object
auth.postGenLoginUrlOutput:
auth.PostGenLoginUrlOutput:
properties:
loginUrl:
type: string
@@ -88,7 +88,7 @@ paths:
description: OK
schema:
items:
$ref: '#/definitions/api.getAliasesOutputAlias'
$ref: '#/definitions/api.GetAliasesOutputAlias'
type: array
"400":
description: Bad Request
@@ -174,7 +174,7 @@ paths:
description: OK
schema:
items:
$ref: '#/definitions/api.getImagesOutputImage'
$ref: '#/definitions/api.GetImagesOutputImage'
type: array
"400":
description: Bad Request
@@ -188,12 +188,12 @@ paths:
name: payload
required: true
schema:
$ref: '#/definitions/auth.postGenLoginUrlInput'
$ref: '#/definitions/auth.PostGenLoginUrlInput'
responses:
"200":
description: Payload
schema:
$ref: '#/definitions/auth.postGenLoginUrlOutput'
$ref: '#/definitions/auth.PostGenLoginUrlOutput'
"400":
description: Bad Request
/auth/login: