show.yaml 642 B

123456789101112131415161718192021222324252627
  1. get:
  2. summary: Display the specified resource.
  3. tags:
  4. - channel
  5. description: 返回某个channel的信息
  6. parameters:
  7. - name: channelId
  8. in: path
  9. required: true
  10. description: channel uuid
  11. schema:
  12. type: string
  13. responses:
  14. "200": # status code
  15. description: A JSON array of channel information
  16. content:
  17. application/json:
  18. schema:
  19. type: object
  20. properties:
  21. ok:
  22. type: boolean
  23. message:
  24. type: string
  25. data:
  26. type: object
  27. $ref: "./channel.yaml"