openapi: 3.0.0
info:
  title: 数据分析模块API
  version: 1.0.0
  description: 分析与报表最小契约（骨架）

paths:
  /api/v1/analytics/overview:
    get:
      summary: 数据总览
      tags: [分析]
      security:
        - bearerAuth: []
      responses:
        200:
          description: 成功

  /api/v1/analytics/users/{id}/ability:
    get:
      summary: 个人能力雷达
      tags: [分析]
      security:
        - bearerAuth: []
      parameters:
        - in: path
          name: id
          required: true
          schema: { type: integer }
      responses:
        200:
          description: 成功
        404:
          description: 未找到

  /api/v1/analytics/teams/{id}/overview:
    get:
      summary: 团队概况
      tags: [分析]
      security:
        - bearerAuth: []
      parameters:
        - in: path
          name: id
          required: true
          schema: { type: integer }
      responses:
        200:
          description: 成功

components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
