From aef83124ed9e573d11b160503f2c65eb935ff552 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 8 Aug 2025 11:00:28 +0700 Subject: [PATCH] split tag of apiManage & fix manual swagger json add page and pageSize --- src/controllers/ApiManageController.ts | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/controllers/ApiManageController.ts b/src/controllers/ApiManageController.ts index fe7504c2..66fd875f 100644 --- a/src/controllers/ApiManageController.ts +++ b/src/controllers/ApiManageController.ts @@ -51,7 +51,7 @@ import { ApiName } from "../entities/ApiName"; import { Profile } from "../entities/Profile"; @Route("api/v1/org/api-manage") -@Tags("ApiKey") +@Tags("ApiManage") @Security("bearerAuth") @Response( HttpStatusCode.INTERNAL_SERVER_ERROR, @@ -675,6 +675,24 @@ export class ApiManageController extends Controller { type: "string", }, }, + { + name: "page", + in: "query", + required: false, + schema: { + type: "integer", + default: 1, + }, + }, + { + name: "pageSize", + in: "query", + required: false, + schema: { + type: "integer", + default: 100, + }, + }, ], responses: { 200: {