diff --git a/handlers/card.go b/handlers/card.go index 99c46b2..ee33400 100644 --- a/handlers/card.go +++ b/handlers/card.go @@ -63,8 +63,8 @@ func CardGetAll(c *gin.Context) { c.JSON(200, ret) } -// @Summary Get card by id -// @Description Get card by id +// @Summary Add card +// @Description Add card // @Tags card // @Accept json // @Produce json diff --git a/handlers/category.go b/handlers/category.go index 2139780..16e379b 100644 --- a/handlers/category.go +++ b/handlers/category.go @@ -62,8 +62,8 @@ func CategoryGetAll(c *gin.Context) { c.JSON(200, ret) } -// @Summary Get category by id -// @Description Get category by id +// @Summary Add category +// @Description Add category // @Tags category // @Accept json // @Produce json diff --git a/handlers/debt.go b/handlers/debt.go index bd6ce7f..6c71f01 100644 --- a/handlers/debt.go +++ b/handlers/debt.go @@ -35,8 +35,8 @@ func DebtGetId(c *gin.Context) { })(c) } -// @Summary Get debt by id -// @Description Get debt by id +// @Summary Add debt +// @Description Add debt // @Tags debt // @Accept json // @Produce json diff --git a/handlers/expense.go b/handlers/expense.go index b2b44fa..a6ce3f9 100644 --- a/handlers/expense.go +++ b/handlers/expense.go @@ -65,8 +65,8 @@ func ExpenseGetAll(c *gin.Context) { c.JSON(200, ret) } -// @Summary Add expense by id -// @Description Add expense by id +// @Summary Add expense +// @Description Add expense // @Tags expense // @Accept json // @Produce json diff --git a/handlers/income.go b/handlers/income.go index 44b94b0..b5bad04 100644 --- a/handlers/income.go +++ b/handlers/income.go @@ -73,8 +73,8 @@ func IncomeGetId(c *gin.Context) { c.JSON(200, ret) } -// @Summary Get income by id -// @Description Get income by id +// @Summary Add income +// @Description Add income // @Tags income // @Accept json // @Produce json diff --git a/handlers/type.go b/handlers/type.go index 633e1fc..3e4904a 100644 --- a/handlers/type.go +++ b/handlers/type.go @@ -63,8 +63,8 @@ func TypeGetAll(c *gin.Context) { c.JSON(200, ret) } -// @Summary Get dbtype by id -// @Description Get dbtype by id +// @Summary Add dbtype +// @Description Add dbtype // @Tags dbtype // @Accept json // @Produce json