tamabahan

This commit is contained in:
bipproduction
2025-10-09 14:45:35 +08:00
parent 3d0bcea948
commit 6fe2e9a3fc
6 changed files with 29 additions and 140 deletions

View File

@@ -55,7 +55,8 @@ const ApiKeyRoute = new Elysia({
},
{
detail: {
summary: 'create api key',
summary: 'create',
description: 'create api key by user',
},
body: t.Object({
name: t.String(),
@@ -77,7 +78,8 @@ const ApiKeyRoute = new Elysia({
},
{
detail: {
summary: 'get api key list',
summary: 'list',
description: 'get api key list by user',
},
}
)
@@ -94,7 +96,8 @@ const ApiKeyRoute = new Elysia({
},
{
detail: {
summary: 'delete api key',
summary: 'delete',
description: 'delete api key by id',
},
body: t.Object({
id: t.String(),