custom.0.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. - httpMethods:
  2. - POST
  3. uri: userDefined/yeah
  4. metadata:
  5. groupName: '1. Group 1'
  6. title: 'User defined'
  7. description: 'This endpoint allows you to do something.'
  8. authenticated: false
  9. headers:
  10. Content-Type: application/json
  11. Accept: application/json
  12. urlParameters: {}
  13. queryParameters:
  14. speed:
  15. name: speed
  16. description: How fast the thing should be done. Can be `slow` or `fast`.
  17. required: false
  18. example: fast
  19. type: string
  20. bodyParameters:
  21. something:
  22. name: something
  23. description: The things we should do.
  24. required: true
  25. example:
  26. - string 1
  27. - string 2
  28. type: 'string[]'
  29. responses:
  30. - status: 200
  31. description: 'When the thing was done smoothly.'
  32. content:
  33. hey: "ho ho ho"
  34. responseFields:
  35. hey:
  36. name: hey
  37. description: Who knows?
  38. type: string
  39. - httpMethods:
  40. - GET
  41. uri: group5
  42. metadata:
  43. groupName: '5. Group 5'
  44. title:
  45. description:
  46. authenticated: false
  47. headers: {}
  48. urlParameters: {}
  49. queryParameters: {}
  50. bodyParameters: {}
  51. responses: {}
  52. responseFields: {}
  53. - httpMethods:
  54. - GET
  55. uri: group4
  56. metadata:
  57. groupName: '4. Group 4'
  58. title:
  59. description:
  60. authenticated: false
  61. headers: {}
  62. urlParameters: {}
  63. queryParameters: {}
  64. bodyParameters: {}
  65. responses: {}
  66. responseFields: {}
  67. - httpMethods:
  68. - GET
  69. uri: alsoGroup5
  70. metadata:
  71. groupName: '5. Group 5'
  72. title:
  73. description:
  74. authenticated: false
  75. headers: {}
  76. urlParameters: {}
  77. queryParameters: {}
  78. bodyParameters: {}
  79. responses: {}
  80. responseFields: {}