Fixed generation of swagger docs (#29)
This commit is contained in:
parent
1b24cdf164
commit
007d8ec375
47 changed files with 590 additions and 411 deletions
|
|
@ -104,7 +104,7 @@ func GetTeamByID(id int64) (team Team, err error) {
|
|||
// @Security ApiKeyAuth
|
||||
// @Param id path int true "Team ID"
|
||||
// @Success 200 {object} models.Team "The team"
|
||||
// @Failure 403 {object} models.HTTPError "The user does not have access to the team"
|
||||
// @Failure 403 {object} code.vikunja.io/web.HTTPError "The user does not have access to the team"
|
||||
// @Failure 500 {object} models.Message "Internal error"
|
||||
// @Router /lists/{id} [get]
|
||||
func (t *Team) ReadOne() (err error) {
|
||||
|
|
|
|||
Reference in a new issue