aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2024-09-11 07:49:42 +0800
committerGitHub <noreply@github.com>2024-09-11 07:49:42 +0800
commitdef1c9670b5f8d5cc967bea61255fb3935dd5f50 (patch)
treef0d29f039c74979768da2ffdda0afd676023ce39 /templates/swagger/v1_json.tmpl
parentd9a7748cdc3f13392acbde87edd18602b566c216 (diff)
downloadgitea-def1c9670b5f8d5cc967bea61255fb3935dd5f50.tar.gz
gitea-def1c9670b5f8d5cc967bea61255fb3935dd5f50.zip
Support migration from AWS CodeCommit (#31981)
This PR adds support for migrating repos from [AWS CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). The access key ID and secret access key are required to get repository information and pull requests. And [HTTPS Git credentials](https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html) are required to clone the repository. <img src="https://github.com/user-attachments/assets/82ecb2d0-8d43-42b0-b5af-f5347a13b9d0" width="680" /> The AWS CodeCommit icon is from [AWS Architecture Icons](https://aws.amazon.com/architecture/icons/). <img src="https://github.com/user-attachments/assets/3c44d21f-d753-40f5-9eae-5d3589e0d50d" width="320" />
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 52d3754737..d9f1a8f5e9 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -22615,6 +22615,14 @@
"type": "string",
"x-go-name": "AuthUsername"
},
+ "aws_access_key_id": {
+ "type": "string",
+ "x-go-name": "AWSAccessKeyID"
+ },
+ "aws_secret_access_key": {
+ "type": "string",
+ "x-go-name": "AWSSecretAccessKey"
+ },
"clone_addr": {
"type": "string",
"x-go-name": "CloneAddr"