0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 12:35:08 +01:00
gitea/routers/api/v1
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856)
* USER APIFormat -> ToUser

* Migrate more and mark APIFormat deprecated

* models.Comment APIFormat() -> convert.ToComment

* models.Release APIFormat() -> convert.ToRelease

* models.Attachments APIFormat() -> convert.ToReleaseAttachments

* models.CommitStatus APIFormat() -> convert.ToCommitStatus

* finish migration to convert.ToUser

* Move Test

* Imprufe Test

* fix test

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-10-17 00:23:08 -04:00
..
admin
misc
notify
org
repo [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
settings
swagger
user
utils
api.go Return 404 not 500 from API if team does not exist (#13118) 2020-10-12 17:09:21 -04:00