diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-11 00:08:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-11 00:08:51 +0300 |
commit | 13bcb8221306526671a61df589f7c05505c9934c (patch) | |
tree | baa61780ec5f526ea180c209af8f4d75a5cb4425 /spec/fixtures | |
parent | 206b03aeae3a368983ac3d6ad5e5828030bbaacd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/graphql/container_repository_details.json | 78 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/internal/pages/lookup_path.json | 2 |
2 files changed, 79 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/graphql/container_repository_details.json b/spec/fixtures/api/schemas/graphql/container_repository_details.json new file mode 100644 index 00000000000..b076711dcea --- /dev/null +++ b/spec/fixtures/api/schemas/graphql/container_repository_details.json @@ -0,0 +1,78 @@ +{ + "type": "object", + "required": ["id", "name", "path", "location", "createdAt", "updatedAt", "tagsCount", "canDelete", "tags"], + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "location": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "expirationPolicyStartedAt": { + "type": ["string", "null"] + }, + "status": { + "type": ["string", "null"] + }, + "tagsCount": { + "type": "integer" + }, + "canDelete": { + "type": "boolean" + }, + "tags": { + "type": "object", + "required": ["nodes"], + "properties": { + "nodes": { + "type": "array", + "items": { + "type": "object", + "required": ["name", "path", "location", "digest", "revision", "shortRevision", "totalSize", "createdAt", "canDelete"], + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "location": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "shortRevision": { + "type": "string" + }, + "totalSize": { + "type": "integer" + }, + "createdAt": { + "type": "string" + }, + "canDelete": { + "type": "boolean" + } + } + } + } + } + } + } +} diff --git a/spec/fixtures/api/schemas/internal/pages/lookup_path.json b/spec/fixtures/api/schemas/internal/pages/lookup_path.json index b2b3d3f9d0a..a8a059577a6 100644 --- a/spec/fixtures/api/schemas/internal/pages/lookup_path.json +++ b/spec/fixtures/api/schemas/internal/pages/lookup_path.json @@ -14,7 +14,7 @@ "source": { "type": "object", "required": ["type", "path"], "properties" : { - "type": { "type": "string", "enum": ["file"] }, + "type": { "type": "string", "enum": ["file", "zip", "zip_local"] }, "path": { "type": "string" } }, "additionalProperties": false |