Fix errors in swagger docs

This commit is contained in:
qowevisa 2024-11-16 11:45:47 +02:00
parent 18aad2c225
commit d230ee7cf2
6 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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