UPDATE: Swagger
All checks were successful
Build and Release / release (push) Successful in 1m7s

This commit is contained in:
2026-04-26 20:30:42 +07:00
parent 6918a100fc
commit eb08c16232
6 changed files with 43 additions and 0 deletions

View File

@@ -112,6 +112,7 @@ func (h *CommitController) RestoreCommit(c fiber.Ctx) error {
// @Tags Commits
// @Accept json
// @Produce json
// @Security BearerAuth
// @Param id path string true "Project ID"
// @Success 200 {object} response.CommonResponse
// @Failure 400 {object} response.CommonResponse

View File

@@ -28,6 +28,7 @@ func NewProjectController(service services.ProjectService) *ProjectController {
// @Tags Projects
// @Accept json
// @Produce json
// @Security BearerAuth
// @Param id path string true "Project ID"
// @Success 200 {object} response.CommonResponse
// @Failure 400 {object} response.CommonResponse
@@ -59,6 +60,7 @@ func (h *ProjectController) GetProjectByID(c fiber.Ctx) error {
// @Tags Projects
// @Accept json
// @Produce json
// @Security BearerAuth
// @Param query query request.SearchProjectDto false "Search Query"
// @Success 200 {object} response.PaginatedResponse
// @Failure 400 {object} response.CommonResponse