Nettoyage des routes : suppression des anciennes définitions Swagger et des variables inutilisées dans cameraRoutes.js

This commit is contained in:
2025-04-02 09:50:08 +02:00
parent 73922d8afc
commit 647dd72b5b
2 changed files with 4 additions and 69 deletions

View File

@@ -146,61 +146,6 @@
* description: Erreur serveur.
*/
/**
* @swagger
* /procedure/start/:
* post:
* summary: Start the capture procedure
* description: Starts the capture procedure with the given project ID and interval.
* requestBody:
* required: true
* content:
* application/json:
* schema:
* type: object
* properties:
* projectId:
* type: integer
* description: The ID of the project to start capturing.
* interval:
* type: integer
* description: The interval in minutes for the capture.
* responses:
* 200:
* description: Capture procedure started successfully.
* content:
* application/json:
* schema:
* type: object
* properties:
* message:
* type: string
* example: "Procédure de capture démarrée avec succès, projet ID: 1, interval: 10 minutes."
* 500:
* description: Internal server error.
*/
/**
* @swagger
* /procedure/stop/:
* post:
* summary: Stop the capture procedure
* description: Stops the capture procedure.
* responses:
* 200:
* description: Capture procedure stopped successfully.
* content:
* application/json:
* schema:
* type: object
* properties:
* message:
* type: string
* example: "Procédure de capture arrêtée avec succès."
* 500:
* description: Internal server error.
*/
/**
* @swagger
* /smile: