Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. info:
  2. version: v1
  3. description: Please note that this API is not an official Ceph REST API to be used by third-party applications. It's primary purpose is to serve the requirements of the Ceph Dashboard and is subject to change at any time. Use at your own risk.
  4. title: Ceph-Dashboard REST API
  5. paths:
  6. /my_endpoint:
  7. get:
  8. summary: This is a second dummy endpoint
  9. responses:
  10. '400':
  11. description: Operation exception. Please check the response body for details.
  12. content:
  13. application/json:
  14. schema:
  15. type: object
  16. properties:
  17. username:
  18. type: string
  19. description: Description of return value
  20. '401':
  21. description: Not the default message
  22. '500':
  23. description: Unexpected error. Please check the response body for the stack trace.
  24. parameters:
  25. - description: '*No description available*'
  26. schema:
  27. type: object
  28. example:
  29. username: description of username
  30. pass: description of pass
  31. name: my_list
  32. in: query
  33. - description: '*No description available*'
  34. schema:
  35. type: object
  36. properties:
  37. username:
  38. type: string
  39. pass:
  40. type: string
  41. description: descr
  42. name: user
  43. in: query
  44. tags:
  45. - MyController
  46. host: ''
  47. schemes:
  48. - https
  49. components:
  50. securitySchemes:
  51. jwt:
  52. scheme: bearer
  53. type: http
  54. bearerFormat: JWT
  55. tags:
  56. - name: MyController
  57. description: This is a dummy controller
  58. basePath: /
  59. servers:
  60. - url: /
  61. openapi: 3.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement