1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 15:14:24 +00:00
gitea/routers/api/v1
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 Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
misc Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
org Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
swagger [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
user Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
utils Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
api.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00