githaven-fork/routers/api/v1/repo
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
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
collaborators.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
commits.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
file.go [API] Extend contents with dates (#9464) 2019-12-24 10:33:52 +08:00
fork.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_ref.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_comment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
issue_stopwatch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_subscription.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_tracked_time.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
key.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
pull.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
release_attachment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
release.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
repo.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
star.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
status.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
subscriber.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tag.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
topic.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tree.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00