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