mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-14 09:30:55 +08:00
2848c5eb8f
* use numbers and not http.Status___ enum
* fix test
* add many missing swagger responses
* code format
* Deletion Sould return 204 ...
* error handling improvements
* if special error type ... then add it to swagger too
* one smal nit
* invalidTopicsError is []string
* valid swagger specification 2.0
- if you add responses swagger can tell you if you do it right 👍
* use ctx.InternalServerError
* Revert "use numbers and not http.Status___ enum"
This reverts commit b1ff386e2418ed6a7f183e756b13277d701278ef.
* use http.Status* enum everywhere
|
||
---|---|---|
.. | ||
blob.go | ||
branch.go | ||
collaborators.go | ||
commits.go | ||
file.go | ||
fork.go | ||
git_hook.go | ||
git_ref.go | ||
hook_test.go | ||
hook.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_reaction.go | ||
issue_stopwatch.go | ||
issue_subscription.go | ||
issue_tracked_time.go | ||
issue.go | ||
key.go | ||
label.go | ||
main_test.go | ||
milestone.go | ||
pull.go | ||
release_attachment.go | ||
release.go | ||
repo_test.go | ||
repo.go | ||
star.go | ||
status.go | ||
subscriber.go | ||
tag.go | ||
topic.go | ||
tree.go |