fix: bug documentation
This commit is contained in:
@@ -36,6 +36,9 @@ export const router = new Elysia({
|
||||
}, {
|
||||
body: createMerchantBody,
|
||||
response: createMerchantResponseSchema,
|
||||
detail: {
|
||||
security: [{ basicAuth: [] }],
|
||||
},
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
@@ -27,6 +27,10 @@ export const swaggerPlugin = openapi({
|
||||
],
|
||||
'components': {
|
||||
securitySchemes: {
|
||||
basicAuth: {
|
||||
type: 'http',
|
||||
scheme: 'basic',
|
||||
},
|
||||
apiKey: {
|
||||
type: 'apiKey',
|
||||
in: 'header',
|
||||
|
||||
Reference in New Issue
Block a user