]> source.dussan.org Git - gitea.git/commit
[API] Add affected files of commits to commit struct (#14579)
author6543 <6543@obermui.de>
Sun, 7 Feb 2021 14:43:40 +0000 (15:43 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Feb 2021 14:43:40 +0000 (15:43 +0100)
commitcbe7f5296e0400a6327b484cf78d6ffb93c9dd2c
tree9c6571cb33b8e3a1435697e776cce1dd53c91dfd
parentc11db35aec40e8e47ee8c678e508a7cdd06a2891
[API] Add affected files of commits to commit struct (#14579)

* Add files affected by a commit to gitea API -- similar to github

* Add files affected by a commit to gitea API

* Fix stupid error

* Fix other stupid typo

* Generate swagger tmpl

* Comply with convert to git commit refacto

* update swagger docs

* extend test

* format code

* Update integrations/api_repo_git_commits_test.go

* Update modules/convert/git_commit.go

Co-authored-by: Laurent Cahour <laurent.cahour@dont-nod.com>
Co-authored-by: zeripath <art27@cantab.net>
integrations/api_repo_git_commits_test.go
modules/convert/git_commit.go
modules/structs/repo_commit.go
templates/swagger/v1_json.tmpl