fix: bug documentation

This commit is contained in:
2025-12-03 15:01:36 +07:00
parent 347e0192e2
commit 66069aa0a9
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -36,6 +36,9 @@ export const router = new Elysia({
}, {
body: createMerchantBody,
response: createMerchantResponseSchema,
detail: {
security: [{ basicAuth: [] }],
},
})
export default router
+4
View File
@@ -27,6 +27,10 @@ export const swaggerPlugin = openapi({
],
'components': {
securitySchemes: {
basicAuth: {
type: 'http',
scheme: 'basic',
},
apiKey: {
type: 'apiKey',
in: 'header',