gitea/modules/convert
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672)
* use different structs for MigrateRepoOptions on UI and API

* Fix TokenAuth and rename UID to an understandable Name

* fix swagger doc

* simplify & mk redable

* R E F A C T O R:
migration has now internal 3 structs to store its options:
 * the Options for WebUI: modules/auth/repo_form.go
 * the Options for API: modules/structs/repo.go
 * the option struct with after validation for internal prossessing: modules/migrations/base/options.go

* Copyright Header

* Deprecate UID - add RepoOwner

* adopt repo.go -> migrate.go

* add comment about each struct purpose

* lint
2020-09-10 23:29:19 +01:00
..
convert.go Default empty merger list to those with write permissions (#12535) 2020-08-20 10:48:40 +03:00
issue.go Add Created & Updated to Milestone (#12662) 2020-09-05 13:38:54 -04:00
issue_test.go Add Created & Updated to Milestone (#12662) 2020-09-05 13:38:54 -04:00
main_test.go Move pull request api convert to convert package (#9664) 2020-01-10 15:53:53 +08:00
pull.go Issue/Pull expose IsLocked Property on API (#11708) 2020-06-01 22:01:55 +01:00
pull_review.go API PullReviewComment HTMLPullURL should return the HTMLURL (#11501) 2020-05-20 22:41:30 -04:00
pull_test.go Display pull request head branch even the branch deleted or repository deleted (#10413) 2020-03-02 22:31:55 +00:00
utils.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00