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

@@ -47,7 +47,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/api.getAliasesOutputAlias"
"$ref": "#/definitions/api.GetAliasesOutputAlias"
}
}
},
@@ -178,7 +178,7 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/api.getImagesOutputImage"
"$ref": "#/definitions/api.GetImagesOutputImage"
}
}
},
@@ -200,7 +200,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/auth.postGenLoginUrlInput"
"$ref": "#/definitions/auth.PostGenLoginUrlInput"
}
}
],
@@ -208,7 +208,7 @@
"200": {
"description": "Payload",
"schema": {
"$ref": "#/definitions/auth.postGenLoginUrlOutput"
"$ref": "#/definitions/auth.PostGenLoginUrlOutput"
}
},
"400": {
@@ -239,7 +239,7 @@
}
},
"definitions": {
"api.getAliasesOutputAlias": {
"api.GetAliasesOutputAlias": {
"type": "object",
"properties": {
"id": {
@@ -250,7 +250,7 @@
}
}
},
"api.getImagesOutputImage": {
"api.GetImagesOutputImage": {
"type": "object",
"properties": {
"aliasesIds": {
@@ -301,7 +301,7 @@
}
}
},
"auth.postGenLoginUrlInput": {
"auth.PostGenLoginUrlInput": {
"type": "object",
"properties": {
"userId": {
@@ -309,7 +309,7 @@
}
}
},
"auth.postGenLoginUrlOutput": {
"auth.PostGenLoginUrlOutput": {
"type": "object",
"properties": {
"loginUrl": {