Skip to content

Commit

Permalink
fix (swagger) : fixing annotation status Success from 200 to 301
Browse files Browse the repository at this point in the history
  • Loading branch information
PickHD committed May 9, 2023
1 parent 93b9f15 commit d12f0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shortener/internal/v1/controller/short.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (sc *ShortControllerImpl) GetListShortenerByUserID(ctx context.Context, req
// @Accept json
// @Produce json
// @Param short_url path string true "short urls"
// @Success 200 {object} helper.BaseResponse
// @Success 301 {object} helper.BaseResponse
// @Failure 400 {object} helper.BaseResponse
// @Failure 404 {object} helper.BaseResponse
// @Failure 500 {object} helper.BaseResponse
Expand Down

0 comments on commit d12f0b7

Please sign in to comment.