From 24b82c30e85e774ac10aa4af112146b9bf621052 Mon Sep 17 00:00:00 2001 From: Tosuke Date: Fri, 6 Jan 2017 00:39:56 +0900 Subject: [PATCH] [Swagger]Fix Error --- src/api/endpoints/auth/session/generate.js | 2 +- src/api/endpoints/auth/session/show.js | 2 +- src/api/endpoints/auth/session/userkey.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/endpoints/auth/session/generate.js b/src/api/endpoints/auth/session/generate.js index 626bf2af4a..f67209eee3 100644 --- a/src/api/endpoints/auth/session/generate.js +++ b/src/api/endpoints/auth/session/generate.js @@ -32,7 +32,7 @@ import AuthSess from '../../../models/auth-session'; * url: * type: string * description: Authentication form's URL - * 400: + * default: * description: Failed * schema: * $ref: "#/definitions/Error" diff --git a/src/api/endpoints/auth/session/show.js b/src/api/endpoints/auth/session/show.js index f7fb981e37..c91ac5a12e 100644 --- a/src/api/endpoints/auth/session/show.js +++ b/src/api/endpoints/auth/session/show.js @@ -40,7 +40,7 @@ import serialize from '../../../serializers/auth-session'; * description: de * app: * $ref: "#/definitions/Application" - * 400: + * default: * description: Failed * schema: * $ref: "#/definitions/Error" diff --git a/src/api/endpoints/auth/session/userkey.js b/src/api/endpoints/auth/session/userkey.js index f823d62c71..73fa643c9c 100644 --- a/src/api/endpoints/auth/session/userkey.js +++ b/src/api/endpoints/auth/session/userkey.js @@ -38,7 +38,7 @@ import serialize from '../../../serializers/user'; * description: User Key * user: * $ref: "#/definitions/User" - * 400: + * default: * description: Failed * schema: * $ref: "#/definitions/Error"