use most likely error msg in doc
This commit is contained in:
@@ -332,9 +332,7 @@ func (h *TimesHandler) GetPlacements(ctx *gin.Context) {
|
||||
// @Security ApiKeyAuth
|
||||
// @Param id path int true "Time ID"
|
||||
// @Success 200 {object} dto.Response[dto.BotDownloadUrl]
|
||||
// @Failure 404 {object} dto.Error "Time not found"
|
||||
// @Failure 404 {object} dto.Error "Time does not have a Bot"
|
||||
// @Failure 404 {object} dto.Error "Bot not found"
|
||||
// @Failure default {object} dto.Error "General error response"
|
||||
// @Router /time/{id}/download-url [get]
|
||||
func (h *TimesHandler) GetDownloadUrl(ctx *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user