docs: Add base path for API endpoints to Swagger
This commit is contained in:
@@ -18,6 +18,12 @@ module.exports = {
|
||||
url: 'https://github.com/plankanban/planka/blob/master/LICENSE.md',
|
||||
},
|
||||
},
|
||||
servers: [
|
||||
{
|
||||
url: '/api',
|
||||
description: 'Base path for API endpoints',
|
||||
},
|
||||
],
|
||||
},
|
||||
apis: ['./api/controllers/**/*.js', './api/models/*.js', './api/responses/*.js'],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user