mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 09:15:01 +03:00
docs: Improve Swagger JSDoc
This commit is contained in:
@@ -24,6 +24,20 @@ module.exports = {
|
||||
description: 'Base path for API endpoints',
|
||||
},
|
||||
],
|
||||
components: {
|
||||
securitySchemes: {
|
||||
bearerAuth: {
|
||||
type: 'http',
|
||||
scheme: 'bearer',
|
||||
bearerFormat: 'JWT',
|
||||
},
|
||||
},
|
||||
},
|
||||
security: [
|
||||
{
|
||||
bearerAuth: [],
|
||||
},
|
||||
],
|
||||
},
|
||||
apis: ['./api/controllers/**/*.js', './api/models/*.js', './api/responses/*.js'],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user