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) c.JSON(200, ret)
} }
// @Summary Get card by id // @Summary Add card
// @Description Get card by id // @Description Add card
// @Tags card // @Tags card
// @Accept json // @Accept json
// @Produce json // @Produce json

View File

@ -62,8 +62,8 @@ func CategoryGetAll(c *gin.Context) {
c.JSON(200, ret) c.JSON(200, ret)
} }
// @Summary Get category by id // @Summary Add category
// @Description Get category by id // @Description Add category
// @Tags category // @Tags category
// @Accept json // @Accept json
// @Produce json // @Produce json

View File

@ -35,8 +35,8 @@ func DebtGetId(c *gin.Context) {
})(c) })(c)
} }
// @Summary Get debt by id // @Summary Add debt
// @Description Get debt by id // @Description Add debt
// @Tags debt // @Tags debt
// @Accept json // @Accept json
// @Produce json // @Produce json

View File

@ -65,8 +65,8 @@ func ExpenseGetAll(c *gin.Context) {
c.JSON(200, ret) c.JSON(200, ret)
} }
// @Summary Add expense by id // @Summary Add expense
// @Description Add expense by id // @Description Add expense
// @Tags expense // @Tags expense
// @Accept json // @Accept json
// @Produce json // @Produce json

View File

@ -73,8 +73,8 @@ func IncomeGetId(c *gin.Context) {
c.JSON(200, ret) c.JSON(200, ret)
} }
// @Summary Get income by id // @Summary Add income
// @Description Get income by id // @Description Add income
// @Tags income // @Tags income
// @Accept json // @Accept json
// @Produce json // @Produce json

View File

@ -63,8 +63,8 @@ func TypeGetAll(c *gin.Context) {
c.JSON(200, ret) c.JSON(200, ret)
} }
// @Summary Get dbtype by id // @Summary Add dbtype
// @Description Get dbtype by id // @Description Add dbtype
// @Tags dbtype // @Tags dbtype
// @Accept json // @Accept json
// @Produce json // @Produce json