get_one.yaml 474 B

12345678910111213141516171819202122
  1. operationId: userGetOne
  2. summary: Get One
  3. security:
  4. - UserAuth: []
  5. description: User get their own data from database
  6. tags: [User]
  7. responses:
  8. "200":
  9. description: User retrieved
  10. content:
  11. application/json:
  12. schema:
  13. $ref: "#/components/schemas/User"
  14. "400":
  15. $ref: "#/components/responses/400"
  16. "401":
  17. $ref: "#/components/responses/401"
  18. "404":
  19. $ref: "#/components/responses/404"
  20. "500":
  21. $ref: "#/components/responses/500"