forgejo/routers/api/v1
sebastian-sauer 6c3433151f
API: Allow COMMENT reviews to not specify a body (#16229)
* Allow COMMENT reviews to not specify a body

when using web ui there is no need to specify a body.
so we don't need to specify a body if adding a COMMENT-review
via our api.

* Ensure comments or Body is provided

and add some integration tests for reviewtype COMMENT.

Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
2021-06-25 00:05:51 +02:00
..
admin Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
misc Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
notify [API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 2021-06-17 16:02:34 +02:00
org Fix some API bugs (#16184) 2021-06-18 01:24:55 +02:00
repo API: Allow COMMENT reviews to not specify a body (#16229) 2021-06-25 00:05:51 +02:00
settings Disable Stars config option (#14653) 2021-04-15 18:53:57 +02:00
swagger [API] GET / SET User Settings (#16169) 2021-06-23 15:58:44 -04:00
user [API] GET / SET User Settings (#16169) 2021-06-23 15:58:44 -04:00
utils Fix some API bugs (#16184) 2021-06-18 01:24:55 +02:00
api.go [API] Add repoGetTag (#16166) 2021-06-23 17:08:47 -04:00