swagger.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. swagger: "2.0"
  2. info:
  3. title: 接入统一身份认证demo
  4. description: |
  5. 接入统一身份认证demo
  6. version: 1.0.0
  7. termsOfService: http://127.0.0.1:8083/swagger/swagger.json
  8. basePath: /api
  9. paths: {}
  10. definitions:
  11. common.ControlBy:
  12. title: ControlBy
  13. type: object
  14. coreModel.BeegoApi:
  15. title: BeegoApi
  16. type: object
  17. dto.RoleApiUpdateReq:
  18. title: RoleApiUpdateReq
  19. type: object
  20. properties:
  21. apiList:
  22. description: api路由列表
  23. type: array
  24. items:
  25. $ref: '#/definitions/coreModel.BeegoApi'
  26. roleKey:
  27. description: 服务id
  28. type: string
  29. example: test
  30. response.Msg:
  31. title: Msg
  32. type: object
  33. properties:
  34. code:
  35. type: integer
  36. format: int32
  37. msg:
  38. type: string
  39. requestId:
  40. type: string
  41. status:
  42. type: string
  43. response.Response:
  44. title: Response
  45. type: object
  46. properties:
  47. code:
  48. type: integer
  49. format: int32
  50. data:
  51. $ref: '#/definitions/response.interface'
  52. msg:
  53. type: string
  54. requestId:
  55. type: string
  56. status:
  57. type: string
  58. response.interface:
  59. title: interface
  60. type: object