summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user/app.go
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to delete a token (#4235)techknowlogick2018-07-061-0/+37
| | | Fix #4234
* Fix swagger errors (#4220)Antoine GIRARD2018-06-121-0/+12
| | | | | | | | | | Fix all the resting errors to have a valid swagger file. They are still some warnings but nothing blocking. Doing so I found that some request still misses son parameters for some POST/PUT/PATCH request. This means the a client generated from the swagger file will not work completely. Fix #4088 by activating validation in drone Should fix #4010.
* Update swagger documentation (#2899)Ethan Koenig2017-11-131-21/+18
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Improve swagger doc (#2274)Antoine GIRARD2017-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger
* Generate swagger json (#1402)Antoine GIRARD2017-05-021-2/+21
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Fix go vet faults (#1060)Ethan Koenig2017-02-261-2/+8
|
* golint fixed for routers (#208)Lunny Xiao2016-11-241-2/+4
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-111-1/+1
| | | | From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-3/+3
| | | | | | | - 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
* Replaced go-gogs-client with go-sdk importsThomas Boerger2016-11-071-1/+1
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-2/+2
|
* Refactor User.Id to User.IDUnknwon2016-07-241-2/+2
|
* Convert all API handers to use *context.APIContextUnknwon2016-03-131-4/+4
|
* Rename module: middleware -> contextUnknwon2016-03-111-3/+3
|
* refactor API routes and some work for #976Unknwon2015-12-041-0/+40