forgejo/routers/api/v1
zeripath a5440fcb1e
Report error if API merge is not allowed (#12528)
#12496 demonstrated that the API merge needs to return some information as
to why a merge has been disallowed with a status code 422.

This PR ensures that a reason is always returned.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-08-19 17:35:06 -04:00
..
admin Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
misc
notify
org Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
repo Report error if API merge is not allowed (#12528) 2020-08-19 17:35:06 -04:00
settings
swagger
user Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
utils
api.go