openapi.yaml 722 B

123456789101112131415161718192021222324252627282930313233343536
  1. openapi: 3.0.4
  2. info:
  3. title: API Documentation | ChatRPG
  4. version: 1.0.0
  5. description: API fro ChatRPG
  6. servers:
  7. - url: http://localhost:8000
  8. description: Development/local server
  9. tags:
  10. - name: User
  11. components:
  12. schemas:
  13. User:
  14. $ref: "./components/schemas/user.yaml"
  15. responses:
  16. "400":
  17. $ref: "./components/responses/400.yaml"
  18. "401":
  19. $ref: "./components/responses/401.yaml"
  20. "403":
  21. $ref: "./components/responses/403.yaml"
  22. "404":
  23. $ref: "./components/responses/404.yaml"
  24. "500":
  25. $ref: "./components/responses/500.yaml"
  26. securitySchemes:
  27. $ref: "./components/security.yaml"
  28. paths:
  29. #Users
  30. /user:
  31. post:
  32. $ref: "./paths/user/create.yaml"