dokumentasi antrian operasi

This commit is contained in:
renaldybrada
2026-02-02 09:24:11 +07:00
parent 919085ba3a
commit 3edbd8b193
10 changed files with 1222 additions and 10 deletions

No files matched your search

+4 -2
View File
@@ -19,8 +19,9 @@ func NewDokterHandler(repo IDokterRepository) DokterHandler {
// GetListDokter godoc
// @Summary Get List Dokter
// @Tags dokter
// @Success 200 {shared.BaseResponse} []DokterResponse
// @Tags Dokter
// @Param search query string false "Search keyword"
// @Success 200 {object} []DokterResponse
// @Failure 500 {object} shared.BaseErrorResponse
// @Router /dokter/ [get]
func (h DokterHandler) ListDokter(c *gin.Context) {
@@ -34,6 +35,7 @@ func (h DokterHandler) ListDokter(c *gin.Context) {
Message: err.Error(),
}
c.JSON(http.StatusInternalServerError, errorResponse)
return
}
response := baseResponse.ToBaseResponse(