/**
 * @swagger
 * /api/v1/users/profile:
 *   get:
 *     summary: 获取用户信息
 *     description: 获取当前登录用户的个人信息
 *     tags: [Users]
 *     security:
 *       - bearerAuth: []
 *     responses:
 *       200:
 *         description: 获取成功
 *         content:
 *           application/json:
 *             schema:
 *               type: object
 *               properties:
 *                 success:
 *                   type: boolean
 *                   example: true
 *                 data:
 *                   $ref: '#/components/schemas/User'
 *       401:
 *         description: 未授权
 *
 *   put:
 *     summary: 更新用户信息
 *     description: 更新当前登录用户的个人信息（仅支持头像和昵称）
 *     tags: [Users]
 *     security:
 *       - bearerAuth: []
 *     requestBody:
 *       required: true
 *       content:
 *         application/json:
 *           schema:
 *             type: object
 *             properties:
 *               nickname:
 *                 type: string
 *                 maxLength: 100
 *                 example: "新昵称"
 *               avatar:
 *                 type: string
 *                 maxLength: 500
 *                 example: "https://example.com/new-avatar.jpg"
 *     responses:
 *       200:
 *         description: 更新成功
 *         content:
 *           application/json:
 *             schema:
 *               type: object
 *               properties:
 *                 success:
 *                   type: boolean
 *                   example: true
 *                 data:
 *                   $ref: '#/components/schemas/User'
 *       400:
 *         description: 请求参数错误
 *       401:
 *         description: 未授权
 *
 * /api/v1/users/language:
 *   put:
 *     summary: 设置语言偏好
 *     description: 设置用户的语言偏好
 *     tags: [Users]
 *     security:
 *       - bearerAuth: []
 *     requestBody:
 *       required: true
 *       content:
 *         application/json:
 *           schema:
 *             type: object
 *             required:
 *               - language
 *             properties:
 *               language:
 *                 type: string
 *                 enum: [zh, en, pt]
 *                 description: 语言代码
 *                 example: "zh"
 *     responses:
 *       200:
 *         description: 设置成功
 *         content:
 *           application/json:
 *             schema:
 *               type: object
 *               properties:
 *                 success:
 *                   type: boolean
 *                   example: true
 *                 data:
 *                   type: object
 *                   properties:
 *                     language:
 *                       type: string
 *                       example: "zh"
 *       400:
 *         description: 无效的语言代码
 *       401:
 *         description: 未授权
 */
