From 6b312f755eb171df0afd95a2d4e51cfd7300fa16 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 8 Jun 2021 14:09:32 +0900 Subject: Remove endpoint descriptions #6627 --- src/server/api/endpoints/app/create.ts | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/server/api/endpoints/app') diff --git a/src/server/api/endpoints/app/create.ts b/src/server/api/endpoints/app/create.ts index db72bd1c42..b5629e4436 100644 --- a/src/server/api/endpoints/app/create.ts +++ b/src/server/api/endpoints/app/create.ts @@ -10,44 +10,23 @@ export const meta = { requireCredential: false as const, - desc: { - 'ja-JP': 'アプリを作成します。', - 'en-US': 'Create a application.' - }, - params: { name: { validator: $.str, - desc: { - 'ja-JP': 'アプリの名前', - 'en-US': 'Name of application' - } }, description: { validator: $.str, - desc: { - 'ja-JP': 'アプリの説明', - 'en-US': 'Description of application' - } }, permission: { validator: $.arr($.str).unique(), - desc: { - 'ja-JP': 'このアプリに割り当てる権限(権限については"Permissions"を参照)', - 'en-US': 'Permissions assigned to this app (see "Permissions" for the permissions)' - } }, // TODO: Check it is valid url callbackUrl: { validator: $.optional.nullable.str, default: null as any, - desc: { - 'ja-JP': 'アプリ認証時にコールバックするURL', - 'en-US': 'URL to call back at app authentication' - } }, }, -- cgit v1.2.3-freya