0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-18 09:44:31 +01:00
gitea/routers/api/v1/repo
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
..
blob.go
branch.go
collaborators.go
commits.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
file.go Add better Swagger description and a example for GetArchive (#12743) 2020-09-06 12:23:47 -04:00
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
key.go
label.go
language.go
main_test.go
migrate.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
milestone.go
mirror.go
pull_review.go
pull.go Report error if API merge is not allowed (#12528) 2020-08-19 17:35:06 -04:00
release_attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
release.go
repo_test.go
repo.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
star.go
status.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
subscriber.go
tag.go
topic.go
transfer.go Fix bug preventing transfer to private organization (#12497) 2020-08-16 16:27:08 -04:00
tree.go