summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-02-13 15:04:19 +0100
committerJames Lopez <james@jameslopez.es>2018-02-13 15:25:49 +0100
commit17e5ef4b269f4c13d22bd5c10086c6226dc43543 (patch)
treeb0d7a27ad328adcd06ac0a204f0dbba62c0222bc /lib/api
parentde83f29a3506af01af31c6668640fbb2a0dd54a9 (diff)
downloadgitlab-ce-17e5ef4b269f4c13d22bd5c10086c6226dc43543.tar.gz
add docs and changelog
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/project_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/project_import.rb b/lib/api/project_import.rb
index 1e51c92cbf1..e93c14ddcf5 100644
--- a/lib/api/project_import.rb
+++ b/lib/api/project_import.rb
@@ -19,8 +19,8 @@ module API
resource :projects, requirements: { id: %r{[^/]+} } do
params do
requires :path, type: String, desc: 'The new project path and name'
- optional :namespace, type: String, desc: 'The ID or name of the namespace that the project will be imported into. Defaults to the user namespace.'
requires :file, type: File, desc: 'The project export file to be imported'
+ optional :namespace, type: String, desc: 'The ID or name of the namespace that the project will be imported into. Defaults to the user namespace.'
end
desc 'Get export status' do
success Entities::ProjectImportStatus