summaryrefslogtreecommitdiff
path: root/src/api/endpoints
diff options
context:
space:
mode:
authorTosuke <tasukeprg@gmail.com>2017-01-05 18:52:55 +0900
committerTosuke <tasukeprg@gmail.com>2017-01-05 18:52:55 +0900
commit923b9448f680325d36f1ea6b283495f308bcb460 (patch)
tree05604692b38830d2d2070d7c0b397c9bad7a3bbc /src/api/endpoints
parentAdd default definition (diff)
downloadsharkey-923b9448f680325d36f1ea6b283495f308bcb460.tar.gz
sharkey-923b9448f680325d36f1ea6b283495f308bcb460.tar.bz2
sharkey-923b9448f680325d36f1ea6b283495f308bcb460.zip
remove 'User' definition
Diffstat (limited to 'src/api/endpoints')
-rw-r--r--src/api/endpoints/users.js76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/api/endpoints/users.js b/src/api/endpoints/users.js
index bb47b4b64a..cd40cdf4e1 100644
--- a/src/api/endpoints/users.js
+++ b/src/api/endpoints/users.js
@@ -7,82 +7,6 @@ import User from '../models/user';
import serialize from '../serializers/user';
/**
- * @swagger
- * definitions:
- * User:
- * type: object
- * required:
- * - created_at
- * - followers_count
- * - following_count
- * - id
- * - liked_count
- * - likes_count
- * - name
- * - posts_count
- * - username
- * properties:
- * avatar_id:
- * type: string
- * description: アバターに設定しているドライブのファイルのID
- * avatar_url:
- * type: string
- * description: アバターURL
- * banner_id:
- * type: string
- * description: バナーに設定しているドライブのファイルのID
- * banner_url:
- * type: string
- * description: バナーURL
- * bio:
- * type: string
- * description: プロフィール
- * birthday:
- * type: string
- * description: 誕生日
- * created_at:
- * type: string
- * format: date
- * description: アカウント作成日時
- * drive_capacity:
- * type: integer
- * description: ドライブの最大容量
- * followers_count:
- * type: integer
- * description: フォロワー数
- * following_count:
- * type: integer
- * description: フォロー数
- * id:
- * type: string
- * description: ユーザーID
- * is_followed:
- * type: boolean
- * description: フォローされているか
- * is_following:
- * type: boolean
- * description: フォローしているか
- * liked_count:
- * type: integer
- * description: 投稿にいいねされた数
- * likes_count:
- * type: integer
- * description: 投稿にいいねした数
- * location:
- * type: string
- * description: 場所
- * name:
- * type: string
- * description: ニックネーム
- * posts_count:
- * type: integer
- * description: 投稿数
- * username:
- * type: string
- * description: ユーザー名
- */
-
-/**
* Lists all users
*
* @param {Object} params