gitea/routers/api/v1/repo
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
..
branch.go
collaborators.go
commits.go
file.go
fork.go
git_ref.go
hook_test.go
hook.go
issue_comment.go
issue_label.go
issue_tracked_time.go
issue.go Add label names as filter in issue search api (#5946) 2019-02-04 10:20:44 -05:00
key.go
label.go
main_test.go
milestone.go
pull.go
release_attachment.go
release.go
repo.go
star.go
status.go
subscriber.go
tree_test.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00
tree.go Feature - Pagination for git tree API (#5838) 2019-02-06 18:19:26 +00:00