]> source.dussan.org Git - gitea.git/commit
add api for user to create org (#5268)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 20 Nov 2018 17:31:30 +0000 (01:31 +0800)
committertechknowlogick <hello@techknowlogick.com>
Tue, 20 Nov 2018 17:31:30 +0000 (12:31 -0500)
commit8ef177f8c5d0968e732daf6b62fe77d3c2555527
tree65d29b34c4d2612979e8fb66b0e613997f2a133e
parent499bff43d935f1334a76b86fe3a44a5a670479ef
add api for user to create org (#5268)

* add api for user to create org

* remove unused blank line on the swagger file end

* fix create and add test

* fix tests

* fix routes of create org API

* fix bug

* add copyright heads
integrations/api_org_test.go [new file with mode: 0644]
routers/api/v1/api.go
routers/api/v1/org/org.go
templates/swagger/v1_json.tmpl