Commit Graph

16 Commits (8f8ff5a2959d81acd732f8b95ed1f6750a88fa20)

Author SHA1 Message Date
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. ()
* Fix Swagger JSON.

Remove unnecessary schema references for the forbidden and empty responses

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix swagger API for CreateAccessToken

* Fix admin create org swagger

* Fix swagger for adminCreateRepo

* More swagger fixes

Set int64 format for those which are int64
Some more form fixes

* Fix swagger description of GET /repos/{owner}/{repo}/pulls
Bo-Yi Wu 1c5cbc390b refactor: import order. ()
Morgan Bazalgette 65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
Ethan Koenig f26f4a7e01 Update swagger documentation ()
* Update swagger documentation

Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation

* Restore delete comments
Ethan Koenig 2559a34b97 Load label ID in NewLabels ()
Bwko a345a03d99 Added sorting to the labels & milestones page ()
Kim "BKC" Carlbäcker e6cfccdd40 GitHub API Compliance (& linting)
Lunny Xiao 3917ed45de golint fixed for routers ()
Sandro Santilli a1c5f02444 Fix import path of go-sdk ()
From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon 28cf0e6aaa code quality improvement
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
Unknwon e7fd65f0cf better code structure and batch minor improvements
lstahlman 2eeb0ec9b0 Additional API support for labels ()
* Add API support for labels.

* Error handling for adding/replacing multiple issue labels

* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions

* Additional code cleanup