swagger.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. definitions:
  2. base.HTTPError:
  3. properties:
  4. code:
  5. example: 500
  6. format: int
  7. type: integer
  8. message:
  9. example: status bad request
  10. type: string
  11. type: object
  12. v1.ExcessiveImgBody:
  13. properties:
  14. ecode:
  15. description: 超标数据编号
  16. type: string
  17. imageBase64:
  18. description: 图片
  19. type: string
  20. mn:
  21. type: string
  22. required:
  23. - mn
  24. type: object
  25. v1.ExcessiveImgResponse:
  26. properties:
  27. code:
  28. default: 0
  29. description: 返回码
  30. format: int
  31. type: integer
  32. message:
  33. default: success
  34. description: 消息
  35. type: string
  36. type: object
  37. info:
  38. contact: {}
  39. license: {}
  40. paths:
  41. /dust_excessive_img:
  42. post:
  43. consumes:
  44. - application/json
  45. description: 扬尘超标数据图片
  46. parameters:
  47. - description: sn
  48. in: body
  49. name: body
  50. required: true
  51. schema:
  52. $ref: '#/definitions/v1.ExcessiveImgBody'
  53. produces:
  54. - application/json
  55. responses:
  56. "200":
  57. description: OK
  58. schema:
  59. $ref: '#/definitions/v1.ExcessiveImgResponse'
  60. "500":
  61. description: Internal Server Error
  62. schema:
  63. $ref: '#/definitions/base.HTTPError'
  64. summary: 扬尘超标数据图片
  65. tags:
  66. - 扬尘超标数据图片
  67. swagger: "2.0"