v2-auth-current.yaml 768 B

1234567891011121314151617181920212223242526
  1. # 手写补充:GET /v2/auth/current 的 data 逐字段类型(对齐移动端 AuthUser)。
  2. get:
  3. deprecated: true
  4. description: |
  5. 已被 `GET /v3/me` 取代。保留仅为 dashboard-v4 兼容,待 v4 下线后删除。
  6. responses:
  7. 200:
  8. content:
  9. application/json:
  10. schema:
  11. properties:
  12. data:
  13. type: object
  14. properties:
  15. id:
  16. type: string
  17. nickName:
  18. type: string
  19. realName:
  20. type: string
  21. avatar:
  22. type: string
  23. roles:
  24. type: array
  25. items:
  26. type: string