]> source.dussan.org Git - gitea.git/commit
Creating a repo from a template repo via API (#15958)
authora1012112796 <1012112796@qq.com>
Mon, 5 Jul 2021 15:29:08 +0000 (23:29 +0800)
committerGitHub <noreply@github.com>
Mon, 5 Jul 2021 15:29:08 +0000 (17:29 +0200)
commit5bb97a12d79309e799e9826badf3527f03815dd2
tree35e6a708ca49a01684ea97512055c0611552e7f4
parent64122fe105686502d4d5606425875a6b16fa6203
Creating a repo from a template repo via API (#15958)

* Creating a repo from a template repo via API

fix #15934
ref:
https://docs.github.com/en/rest/reference/repos#create-a-repository-using-a-template

Signed-off-by: a1012112796 <1012112796@qq.com>
integrations/api_repo_test.go
modules/structs/repo.go
routers/api/v1/api.go
routers/api/v1/repo/repo.go
routers/api/v1/swagger/options.go
templates/swagger/v1_json.tmpl