summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/app/create.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-25 00:33:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-25 00:33:48 +0900
commit575da762356f9a1efd4af8a6a6dcdad9a2c3c379 (patch)
treead1217540d5adc375fa919769156fd69ec3c966e /src/server/api/endpoints/app/create.ts
parent#1955 (diff)
downloadsharkey-575da762356f9a1efd4af8a6a6dcdad9a2c3c379.tar.gz
sharkey-575da762356f9a1efd4af8a6a6dcdad9a2c3c379.tar.bz2
sharkey-575da762356f9a1efd4af8a6a6dcdad9a2c3c379.zip
Clean up: Remove unmaintained codes
Diffstat (limited to 'src/server/api/endpoints/app/create.ts')
-rw-r--r--src/server/api/endpoints/app/create.ts53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/server/api/endpoints/app/create.ts b/src/server/api/endpoints/app/create.ts
index 82a2fcb55e..5df8bd2f25 100644
--- a/src/server/api/endpoints/app/create.ts
+++ b/src/server/api/endpoints/app/create.ts
@@ -8,59 +8,6 @@ export const meta = {
};
/**
- * @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
*/
export default async (params: any, user: ILocalUser) => new Promise(async (res, rej) => {