Clean up: Remove unmaintained codes

This commit is contained in:
syuilo
2018-07-25 00:33:48 +09:00
parent c3b3b9b9a6
commit 575da76235
10 changed files with 0 additions and 499 deletions

View File

@ -7,59 +7,6 @@ export const meta = {
requireCredential: true
};
/**
* @swagger
* /app/create:
* note:
* summary: Create an application
* parameters:
* - $ref: "#/parameters/AccessToken"
* -
* name: nameId
* description: Application unique name
* in: formData
* required: true
* type: string
* -
* name: name
* description: Application name
* in: formData
* required: true
* type: string
* -
* name: description
* description: Application description
* in: formData
* required: true
* type: string
* -
* name: permission
* description: Permissions that application has
* in: formData
* required: true
* type: array
* items:
* type: string
* collectionFormat: csv
* -
* name: callbackUrl
* description: URL called back after authentication
* in: formData
* required: false
* type: string
*
* responses:
* 200:
* description: Created application's information
* schema:
* $ref: "#/definitions/Application"
*
* default:
* description: Failed
* schema:
* $ref: "#/definitions/Error"
*/
/**
* Create an app
*/

View File

@ -5,35 +5,6 @@ import $ from 'cafy';
import App from '../../../../../models/app';
import { isValidNameId } from '../../../../../models/app';
/**
* @swagger
* /app/nameId/available:
* note:
* summary: Check available nameId on creation an application
* parameters:
* -
* name: nameId
* description: Application unique name
* in: formData
* required: true
* type: string
*
* responses:
* 200:
* description: Success
* schema:
* type: object
* properties:
* available:
* description: Whether nameId is available
* type: boolean
*
* default:
* description: Failed
* schema:
* $ref: "#/definitions/Error"
*/
/**
* Check available nameId of app
*

View File

@ -2,36 +2,6 @@ import $ from 'cafy'; import ID from '../../../../misc/cafy-id';
import App, { pack, IApp } from '../../../../models/app';
import { ILocalUser } from '../../../../models/user';
/**
* @swagger
* /app/show:
* note:
* summary: Show an application's information
* description: Require appId or nameId
* parameters:
* -
* name: appId
* description: Application ID
* in: formData
* type: string
* -
* name: nameId
* 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
*/