Ethan Koenig
1df45ea8b0
Update swagger documentation ( #2899 )
* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments
7 years ago
Lunny Xiao
9cb1dc7dd8
fix imports
7 years ago
Lunny Xiao
e7ca7b93e2
some fixes
7 years ago
Lunny Xiao
f1b7c521e1
Hide unactive on explore users and some refactors ( #2741 )
* hide unactive on explore users and some refactors
* fix test for removed Organizations
* fix test for removed Organizations
* fix imports
* fix logic bug
* refactor the toConds
* Rename TestOrganizations to TestSearchUsers and add tests for users
* fix other tests
* fix other tests
* fix watchers tests
* fix comments and remove unused code
7 years ago
Antoine GIRARD
8b81ff17f5
Improve swagger doc ( #2274 )
* 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
7 years ago
Antoine GIRARD
9a699d3712
Generate swagger json ( #1402 )
- 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
8 years ago
Bo-Yi Wu
110750bf29
fix: trim the whitespaces for the search keyword ( #893 )
8 years ago
Kim "BKC" Carlbäcker
0287afefa6
Fix breakage from vendor-update
8 years ago
Lunny Xiao
e134836804
golint fixed for routers ( #208 )
8 years ago
Sandro Santilli
827c85ad85
Fix import path of go-sdk ( #141 )
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Sandro Santilli
0daccd049a
And others
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
6e37e3f3d7
Replace convert.To with APIFormat calls
8 years ago
Unknwon
fdd6a233a9
Fix #3391
9 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
da092dd05b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
2d90be9c2e
#13 finish user and repository search
Both are possible on explore and admin panel
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Unknwon
c6f6031bd5
refactor API routes and some work for #976
9 years ago