fix incorrect Armoire test; remove unneeded param details from apidocs; disambiguate health potion

This commit is contained in:
Alys
2016-05-16 15:20:43 +10:00
parent 6bbfbbf613
commit b676fc0b71
4 changed files with 15 additions and 24 deletions

View File

@@ -557,8 +557,6 @@ api.buyGear = {
* @apiName UserBuyArmoire
* @apiGroup User
*
* @apiParam {string} key The item to buy.
*
* @apiSuccess {object} data.items user.items
* @apiSuccess {object} data.flags user.flags
* @apiSuccess {object} data.armoire Extra item given by the armoire
@@ -577,13 +575,11 @@ api.buyArmoire = {
};
/**
* @api {post} /user/buy-potion Buy a potion.
* @api {post} /user/buy-potion Buy a health potion
* @apiVersion 3.0.0
* @apiName UserBuyPotion
* @apiGroup User
*
* @apiParam {string} key The item to buy.
*
* @apiSuccess {Object} data user.stats
* @apiSuccess {string} message Success message
*/