add api tag to api routes (#12948)

- adds api tag to import/export and status routes
This commit is contained in:
João Duarte 2017-07-19 16:25:48 +01:00 committed by GitHub
parent c3713a8ef0
commit 52e5d45f69
3 changed files with 5 additions and 0 deletions

View file

@ -14,6 +14,7 @@ export function exportApi(server) {
).required()
})
},
tags: ['api'],
},
method: ['GET'],
handler: (req, reply) => {

View file

@ -17,6 +17,7 @@ export function importApi(server) {
exclude: [Joi.string(), Joi.array().items(Joi.string())]
})
},
tags: ['api'],
},
handler: (req, reply) => {

View file

@ -18,6 +18,9 @@ export default function (kbnServer, server, config) {
server.route(wrapAuth({
method: 'GET',
path: '/api/status',
config: {
tags: ['api']
},
handler: function (request, reply) {
const status = {
name: config.get('server.name'),