Skip to content

Commit

Permalink
add api tag to api routes (#12948)
Browse files Browse the repository at this point in the history
- adds api tag to import/export and status routes
  • Loading branch information
jsvd committed Jul 19, 2017
1 parent aa1a52a commit 1f492f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core_plugins/kibana/server/routes/api/export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function exportApi(server) {
).required()
})
},
tags: ['api'],
},
method: ['GET'],
handler: (req, reply) => {
Expand Down
1 change: 1 addition & 0 deletions src/core_plugins/kibana/server/routes/api/import/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function importApi(server) {
exclude: [Joi.string(), Joi.array().items(Joi.string())]
})
},
tags: ['api'],
},

handler: (req, reply) => {
Expand Down
3 changes: 3 additions & 0 deletions src/server/status/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export default function (kbnServer, server, config) {
server.route(wrapAuth({
method: 'GET',
path: '/api/status',
config: {
tags: ['api']
},
handler: function (request, reply) {
const v6Format = config.get('status.v6ApiFormat');
if (v6Format) {
Expand Down

0 comments on commit 1f492f0

Please sign in to comment.