go-sdk/gitea
arkamar 319a978c6c Allow PR review with comments only (#570)
It is common to create PR review with Comments only, where foreword Body is empty. This is allowed by Gitea API, therefore SDK should return empty body error only if there are no comments.

Co-authored-by: Petr Vaněk <arkamar@atlas.cz>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: gitea/go-sdk#570
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: arkamar <arkamar@noreply.gitea.io>
Co-committed-by: arkamar <arkamar@noreply.gitea.io>
2022-05-02 03:09:34 +08:00
..
admin_cron.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
admin_org.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
admin_repo.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
admin_test.go Update length of cron tasks (#578) 2022-04-10 20:10:20 +08:00
admin_user.go Update Structs (#524) 2021-07-01 23:10:21 +08:00
attachment.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
client.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
doc.go ask for go get from code.gitea.io/sdk/gitea 2016-11-11 21:52:21 +08:00
fork.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
git_blob.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
git_hook.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
go.mod Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
go.sum Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
helper.go Add Helper for Optional Values (#448) 2020-11-13 05:27:28 +08:00
hook_validate_test.go Add webhook verification funcs (#580) 2022-04-27 02:59:02 +08:00
hook_validate.go Add webhook verification funcs (#580) 2022-04-27 02:59:02 +08:00
hook.go Update Structs (#524) 2021-07-01 23:10:21 +08:00
issue_comment_test.go Add gitea-vet (#312) 2021-08-13 22:21:17 +08:00
issue_comment.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_label_test.go Extend Label Test (#540) 2021-08-29 02:28:00 +08:00
issue_label.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_milestone_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
issue_milestone.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
issue_reaction.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_stopwatch.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_subscription_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_subscription.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_test.go Fix CI tests (#579) 2022-04-22 15:52:45 +08:00
issue_tracked_time.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue.go Add sorting by owner/team for list search on user (#585) 2022-04-28 08:43:52 +08:00
list_options.go ListOptions.setDefaults(): remove artificial and buggy pagination limits (#573) 2022-04-27 03:07:37 +08:00
main_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
notifications_test.go Use goproxy.io instead of goproxy.cn (#574) 2022-03-29 07:09:57 +08:00
notifications.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
oauth2_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
oauth2.go Use Predefind Versions & Compare Function (#442) 2020-11-13 04:59:04 +08:00
org_member_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org_member.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
org_team_test.go Add search teams on org API (#577) 2022-04-27 03:21:25 +08:00
org_team.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
org_test.go Add Repo Team Management Functions (#537) 2021-08-13 23:56:50 +08:00
org.go Update Structs (#524) 2021-07-01 23:10:21 +08:00
pull_review_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
pull_review.go Allow PR review with comments only (#570) 2022-05-02 03:09:34 +08:00
pull_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
pull.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
release_test.go Fix CI tests (#579) 2022-04-22 15:52:45 +08:00
release.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_branch_protection.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_branch_test.go Fix CI tests (#579) 2022-04-22 15:52:45 +08:00
repo_branch.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_collaborator_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_collaborator.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_commit_test.go Add commit stats and verification (#584) 2022-04-28 18:58:54 +08:00
repo_commit.go Add file commit history (#588) 2022-05-01 15:48:52 +08:00
repo_file_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_file.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_key.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_migrate.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_refs.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_stars_test.go Add gitea-vet (#312) 2021-08-13 22:21:17 +08:00
repo_stars.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_tag_test.go Fix CI tests (#579) 2022-04-22 15:52:45 +08:00
repo_tag.go Add GetTag, GetAnnotatedTag & CreateTag (#533) 2021-08-13 20:27:52 +08:00
repo_team_test.go Add Repo Team Management Functions (#537) 2021-08-13 23:56:50 +08:00
repo_team.go Add Repo Team Management Functions (#537) 2021-08-13 23:56:50 +08:00
repo_template_test.go Add CreateRepoFromTemplate (#536) 2021-08-14 00:28:23 +08:00
repo_template.go Add CreateRepoFromTemplate (#536) 2021-08-14 00:28:23 +08:00
repo_test.go Fix CI tests (#579) 2022-04-22 15:52:45 +08:00
repo_topics_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_topics.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_transfer_test.go Fix CI tests (#579) 2022-04-22 15:52:45 +08:00
repo_transfer.go Add the Accept/Reject transfer of a repository. (#586) 2022-04-28 09:27:56 +08:00
repo_tree.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_watch_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo_watch.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
repo.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
settings_test.go Use goproxy.io instead of goproxy.cn (#574) 2022-03-29 07:09:57 +08:00
settings.go Update Structs (#524) 2021-07-01 23:10:21 +08:00
status_test.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
status.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_app.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
user_email.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_follow.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_gpgkey.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_key.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_search.go Add GetUserByID (#513) 2021-04-05 11:23:50 +08:00
user_settings_test.go Use goproxy.io instead of goproxy.cn (#574) 2022-03-29 07:09:57 +08:00
user_settings.go Add user settings get & update functions (#531) 2021-07-03 23:50:45 +08:00
user_test.go Use goproxy.io instead of goproxy.cn (#574) 2022-03-29 07:09:57 +08:00
user.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00
version_test.go Add ignoreVersion & manuall version set option (#560) 2022-01-05 00:31:31 +08:00
version.go Enforce golangci-lint + gofumpt (#587) 2022-04-28 23:33:21 +08:00