v2-channel-channel.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # 手写补充:GET /v2/channel/{channel} 的 data 逐字段类型(对齐移动端 ChannelInfo)。
  2. # 只补 get 的响应,put/patch/delete 保持自动生成结果。
  3. get:
  4. responses:
  5. 200:
  6. content:
  7. application/json:
  8. schema:
  9. properties:
  10. data:
  11. type: object
  12. properties:
  13. uid:
  14. type: string
  15. name:
  16. type: string
  17. summary:
  18. type: string
  19. nullable: true
  20. lang:
  21. type: string
  22. type:
  23. type: string
  24. updated_at:
  25. type: string
  26. studio:
  27. type: object
  28. properties:
  29. id:
  30. type: string
  31. nickName:
  32. type: string
  33. realName:
  34. type: string
  35. studioName:
  36. type: string
  37. avatar:
  38. type: string