From 81659e255a0339383f2c25a8d9426ef824e3c77d Mon Sep 17 00:00:00 2001 From: Tosuke Date: Thu, 5 Jan 2017 23:42:27 +0900 Subject: [PATCH] [Swagger]Fix name --- src/api/endpoints/auth/session/generate.js | 4 ++-- src/api/endpoints/auth/session/show.js | 2 +- src/api/endpoints/auth/session/userkey.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/endpoints/auth/session/generate.js b/src/api/endpoints/auth/session/generate.js index 1390ae290..626bf2af4 100644 --- a/src/api/endpoints/auth/session/generate.js +++ b/src/api/endpoints/auth/session/generate.js @@ -28,10 +28,10 @@ import AuthSess from '../../../models/auth-session'; * properties: * token: * type: string - * description: API Token + * description: Session Token * url: * type: string - * description: Callback URL + * description: Authentication form's URL * 400: * description: Failed * schema: diff --git a/src/api/endpoints/auth/session/show.js b/src/api/endpoints/auth/session/show.js index b64e36a5e..f7fb981e3 100644 --- a/src/api/endpoints/auth/session/show.js +++ b/src/api/endpoints/auth/session/show.js @@ -34,7 +34,7 @@ import serialize from '../../../serializers/auth-session'; * description: Application ID * token: * type: string - * description: API Token + * description: Session Token * user_id: * type: string * description: de diff --git a/src/api/endpoints/auth/session/userkey.js b/src/api/endpoints/auth/session/userkey.js index 918caa8f3..f823d62c7 100644 --- a/src/api/endpoints/auth/session/userkey.js +++ b/src/api/endpoints/auth/session/userkey.js @@ -22,7 +22,7 @@ import serialize from '../../../serializers/user'; * type: string * - * name: token - * description: API Token + * description: Session Token * in: formData * required: true * type: string