Fix errors in swagger docs
This commit is contained in:
parent
18aad2c225
commit
d230ee7cf2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user