forgejo/vendor/code.gitea.io/sdk/gitea
Richard Mahn da1edbfb79 Feature - Pagination for git tree API (#5838)
* Feature - Pagination for git tree API

* Handles case when page is negative

* Does a for loop over the start and end rather than all entries

* Removed redundent logic

* Adds per_page as a query parameter

* Adds DEFAULT_GIT_TREES_PER_PAGE for settings, ran make fmt

* Fix typo in cheat-sheet en

* Makes page start at 1, generated swagger

* Use updates to SDK

* Updates to use latest sdk

* Updates swagger for tree api

* Adds test for GetTreeBySHA

* Updates per PR reviews

* Updates per PR reviews

* Remove file

* Formatting

* Fix to swagger file

* Fix to swagger

* Update v1_json.tmpl

* Fix to swagger file
2019-02-06 18:19:26 +00:00
..
admin_org.go
admin_repo.go
admin_user.go
attachment.go
doc.go
fork.go
gitea.go
hook.go
issue.go
issue_comment.go
issue_label.go
issue_milestone.go
issue_tracked_time.go
lfs_lock.go
miscellaneous.go
org.go
org_member.go
org_team.go
pull.go
release.go
repo.go
repo_branch.go
repo_collaborator.go
repo_commit.go
repo_file.go
repo_key.go
repo_refs.go
repo_tag.go
repo_tree.go
repo_watch.go
status.go
user.go
user_app.go
user_email.go
user_follow.go
user_gpgkey.go
user_key.go
user_search.go
utils.go