Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
added create test route
  • Loading branch information
RohitKini committed Sep 30, 2024
commit e30aceef3e77cdc83a698cbcf24eb40d2ad5de00
13 changes: 13 additions & 0 deletions api/src/routes/migration.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,17 @@ router.post(
asyncRouter(migrationController.deleteTestStack)
);

/**
* Route for creating a test stack.
* @route POST /test-stack/:projectId
* @group Migration
* @param {string} projectId - The ID of the project.
* @returns {Promise<void>} - A promise that resolves when the test stack is deleted.
*/
router.post(
"/create-test-stack/:projectId",
asyncRouter(migrationController.createTestStack)
);


export default router;