Merge remote-tracking branch 'origin/main' into backend_complete

This commit is contained in:
2025-09-21 03:49:22 +02:00
1039 changed files with 80635 additions and 19 deletions
@@ -1,6 +1,14 @@
/**
* @swagger
* components:
<<<<<<< HEAD
=======
* securitySchemes:
* bearerAuth:
* type: http
* scheme: bearer
* bearerFormat: JWT
>>>>>>> origin/main
* schemas:
* User:
* type: object
@@ -100,6 +108,7 @@
* type: string
* format: email
*
<<<<<<< HEAD
* ForgotPasswordRequest:
* type: object
* required:
@@ -131,6 +140,8 @@
* message:
* type: string
*
=======
>>>>>>> origin/main
* Organization:
* type: object
* properties:
@@ -325,6 +336,7 @@
* chatId:
* type: string
*
<<<<<<< HEAD
* Game:
* type: object
* properties:
@@ -353,6 +365,8 @@
* type: string
* format: date-time
*
=======
>>>>>>> origin/main
* Error:
* type: object
* properties:
@@ -363,6 +377,7 @@
* format: date-time
* details:
* type: string
<<<<<<< HEAD
*/
/**
* @swagger
@@ -392,6 +407,34 @@
* schema:
* $ref: '#/components/schemas/Error'
*
=======
*
* paths:
* /api/users/login:
* post:
* tags: [Users]
* summary: User login
* description: Authenticate user and return JWT token
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/LoginRequest'
* responses:
* 200:
* description: Login successful
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/LoginResponse'
* 401:
* description: Invalid credentials
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/Error'
>>>>>>> origin/main
*
* /api/users/create:
* post:
@@ -1454,6 +1497,7 @@
* application/json:
* schema:
* $ref: '#/components/schemas/Contact'
<<<<<<< HEAD
*
* /api/games/start:
* post:
@@ -1611,6 +1655,8 @@
* description: Game already started or not ready to start
* 500:
* description: Internal server error
=======
>>>>>>> origin/main
*/
export {};