fix(apidoc): make sure v4 routes do not show up in docs

This commit is contained in:
Matteo Pagliazzi
2020-06-25 16:07:03 +02:00
parent 7a2f05d136
commit 97857dbe9c
7 changed files with 14 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ const api = {};
/* NOTE this route has also an API v3 version */
/**
* @apiIgnore
* @api {get} /api/v4/user Get the authenticated user's profile
* @apiName UserGet
* @apiGroup User
@@ -70,6 +71,7 @@ api.getUser = {
/* NOTE this route has also an API v3 version */
/**
* @apiIgnore
* @api {put} /api/v4/user Update the user
* @apiName UserUpdate
* @apiGroup User
@@ -110,6 +112,7 @@ api.updateUser = {
/* NOTE this route has also an API v3 version */
/**
* @apiIgnore
* @api {post} /api/v4/user/rebirth Use Orb of Rebirth on user
* @apiName UserRebirth
* @apiGroup User
@@ -149,6 +152,7 @@ api.userRebirth = {
/* NOTE this route has also an API v3 version */
/**
* @apiIgnore
* @api {post} /api/v4/user/reroll Reroll a user using the Fortify Potion
* @apiName UserReroll
* @apiGroup User
@@ -182,6 +186,7 @@ api.userReroll = {
/* NOTE this route has also an API v3 version */
/**
* @apiIgnore
* @api {post} /api/v4/user/reset Reset user
* @apiName UserReset
* @apiGroup User