This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/api/v1/swagger
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
..
issue.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
key.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
misc.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
options.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
org.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
repo.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
user.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00