gitea/modules/convert
6543 cbe7f5296e
[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>
2021-02-07 15:43:40 +01:00
..
convert.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
git_commit_test.go Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
git_commit.go [API] Add affected files of commits to commit struct (#14579) 2021-02-07 15:43:40 +01:00
issue_comment.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
issue_test.go Add Created & Updated to Milestone (#12662) 2020-09-05 13:38:54 -04:00
issue.go Display current stopwatch in navbar (#14122) 2021-01-21 15:51:52 +01:00
main_test.go Move pull request api convert to convert package (#9664) 2020-01-10 15:53:53 +08:00
notification.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
pull_review.go Add review request api (#11355) 2020-10-20 14:18:25 -04:00
pull_test.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
pull.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
release.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
repository.go Add MirrorInterval to the API (#14163) 2021-01-02 18:47:47 -05:00
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
user_test.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
user.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
utils_test.go Add some Unit-Tests (#14500) 2021-01-28 19:08:11 +01:00
utils.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00