[Swagger]Add /app/show
This commit is contained in:
		| @@ -7,6 +7,36 @@ import * as mongo from 'mongodb'; | ||||
| import App from '../../models/app'; | ||||
| import serialize from '../../serializers/app'; | ||||
|  | ||||
| /** | ||||
|  * @swagger | ||||
|  * /app/show: | ||||
|  *   post: | ||||
|  *     summary: Show an application's information | ||||
|  *     description: Require app_id or name_id | ||||
|  *     parameters: | ||||
|  *       - | ||||
|  *         name: app_id | ||||
|  *         description: Application ID | ||||
|  *         in: formData | ||||
|  *         type: string | ||||
|  *       - | ||||
|  *         name: name_id | ||||
|  *         description: Application unique name | ||||
|  *         in: formData | ||||
|  *         type: string | ||||
|  *          | ||||
|  *     responses: | ||||
|  *       200: | ||||
|  *         description: Success | ||||
|  *         schema: | ||||
|  *           $ref: "#/definitions/Application" | ||||
|  *            | ||||
|  *       default: | ||||
|  *         description: Failed | ||||
|  *         schema: | ||||
|  *           $ref: "#/definitions/Error" | ||||
|  */ | ||||
|  | ||||
| /** | ||||
|  * Show an app | ||||
|  * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tosuke
					Tosuke