diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-07-23 07:52:15 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-07-23 07:52:15 +0000 |
commit | c52ab9141c27e131721d8ae28b44bff9a3431cae (patch) | |
tree | 2109d84de1377060705b7605e355f6830be8a9db /spec/fixtures/api | |
parent | 480b5345682c6935314f1958e79c1edd1a19c2f3 (diff) | |
download | gitlab-ce-c52ab9141c27e131721d8ae28b44bff9a3431cae.tar.gz |
Fix gitlab import project load
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/projects.json | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/projects.json b/spec/fixtures/api/schemas/public_api/v4/projects.json index 17ad8d8c48d..af5670ebd33 100644 --- a/spec/fixtures/api/schemas/public_api/v4/projects.json +++ b/spec/fixtures/api/schemas/public_api/v4/projects.json @@ -24,13 +24,24 @@ "avatar_url": { "type": ["string", "null"] }, "star_count": { "type": "integer" }, "forks_count": { "type": "integer" }, - "last_activity_at": { "type": "date" } + "last_activity_at": { "type": "date" }, + "namespace": { + "type": "object", + "properties" : { + "id": { "type": "integer" }, + "name": { "type": "string" }, + "path": { "type": "string" }, + "kind": { "type": "string" }, + "full_path": { "type": "string" }, + "parent_id": { "type": ["integer", "null"] } + } + } }, "required": [ "id", "name", "name_with_namespace", "description", "path", "path_with_namespace", "created_at", "default_branch", "tag_list", "ssh_url_to_repo", "http_url_to_repo", "web_url", "avatar_url", - "star_count", "last_activity_at" + "star_count", "last_activity_at", "namespace" ], "additionalProperties": false } |