summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/auth/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/auth/session')
-rw-r--r--src/server/api/endpoints/auth/session/generate.ts11
-rw-r--r--src/server/api/endpoints/auth/session/show.ts4
-rw-r--r--src/server/api/endpoints/auth/session/userkey.ts10
3 files changed, 0 insertions, 25 deletions
diff --git a/src/server/api/endpoints/auth/session/generate.ts b/src/server/api/endpoints/auth/session/generate.ts
index e0d003c499..42f9e25c78 100644
--- a/src/server/api/endpoints/auth/session/generate.ts
+++ b/src/server/api/endpoints/auth/session/generate.ts
@@ -11,18 +11,9 @@ export const meta = {
requireCredential: false as const,
- desc: {
- 'ja-JP': 'アプリを認証するためのトークンを作成します。',
- 'en-US': 'Generate a token for authorize application.'
- },
-
params: {
appSecret: {
validator: $.str,
- desc: {
- 'ja-JP': 'アプリケーションのシークレットキー',
- 'en-US': 'The secret key of your application.'
- }
}
},
@@ -33,13 +24,11 @@ export const meta = {
token: {
type: 'string' as const,
optional: false as const, nullable: false as const,
- description: 'セッションのトークン'
},
url: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'url',
- description: 'セッションのURL'
},
}
},
diff --git a/src/server/api/endpoints/auth/session/show.ts b/src/server/api/endpoints/auth/session/show.ts
index 9e0d6d90a4..fd20884c02 100644
--- a/src/server/api/endpoints/auth/session/show.ts
+++ b/src/server/api/endpoints/auth/session/show.ts
@@ -11,10 +11,6 @@ export const meta = {
params: {
token: {
validator: $.str,
- desc: {
- 'ja-JP': 'セッションのトークン',
- 'en-US': 'The token of a session.'
- }
}
},
diff --git a/src/server/api/endpoints/auth/session/userkey.ts b/src/server/api/endpoints/auth/session/userkey.ts
index 68d0c7bdf1..7059aacbea 100644
--- a/src/server/api/endpoints/auth/session/userkey.ts
+++ b/src/server/api/endpoints/auth/session/userkey.ts
@@ -11,18 +11,10 @@ export const meta = {
params: {
appSecret: {
validator: $.str,
- desc: {
- 'ja-JP': 'アプリケーションのシークレットキー',
- 'en-US': 'The secret key of your application.'
- }
},
token: {
validator: $.str,
- desc: {
- 'ja-JP': 'セッションのトークン',
- 'en-US': 'The token of a session.'
- }
}
},
@@ -33,14 +25,12 @@ export const meta = {
accessToken: {
type: 'string' as const,
optional: false as const, nullable: false as const,
- description: 'ユーザーのアクセストークン',
},
user: {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'User',
- description: '認証したユーザー'
},
}
},