From 5db81b938f175be2f62c30c16e4784357a74ac50 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 626bf2af4..f67209eee 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 f7fb981e3..c91ac5a12 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 f823d62c7..73fa643c9 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"