1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-20 12:04:36 +01:00
gitea/modules/structs
6543 9600c27085 [API] Fix 9544 | return 200 when reaction already exist (#9550)
* add ErrReactionAlreadyExist

* extend CreateReaction

* reaction already exist = 200

* extend FindReactionsOptions

* refactor swagger options/definitions

* fix swagger-validate

* Update models/error.go

Co-Authored-By: zeripath <art27@cantab.net>

* fix test PART1

* extend FindReactionsOptions with UserID option

* catch error on test

* fix test PART2

* format ...

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
2019-12-31 03:21:21 -05:00
..
admin_user.go
attachment.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go update swagger info (#9558) 2019-12-31 12:11:15 +08:00
issue_comment.go
issue_label.go
issue_milestone.go
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
issue_stopwatch.go [API] extend StopWatch (#9196) 2019-12-11 23:23:05 -05:00
issue_tracked_time.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue.go Remove unsued struct (#9405) 2019-12-18 13:10:40 +01:00
lfs_lock.go
miscellaneous.go
org_member.go
org_team.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
org_type.go
org.go
pull.go
release.go
repo_branch.go Update branch API endpoint to show effective branch protection. (#9031) 2019-11-16 19:39:18 +00:00
repo_collaborator.go
repo_commit.go [API] Extend contents with dates (#9464) 2019-12-24 10:33:52 +08:00
repo_file.go [API] Extend contents with dates (#9464) 2019-12-24 10:33:52 +08:00
repo_key.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go
repo.go Add release_counter to Repo API (#9214) 2019-11-30 14:28:47 -05:00
status.go
task.go
user_app.go
user_email.go
user_gpgkey.go
user_key.go
user.go
utils.go