diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 12:09:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-24 12:09:42 +0000 |
commit | 729e3765d5feb762df1ccfbc228a8dd4662aa3f9 (patch) | |
tree | f326420fc64999c6bcc28816ed54f0972fb46459 /spec/fixtures/api/schemas/public_api | |
parent | 6f7881ee9dcec34141a8f34fc814b56b366d2b48 (diff) | |
download | gitlab-ce-729e3765d5feb762df1ccfbc228a8dd4662aa3f9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures/api/schemas/public_api')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/release.json | 4 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/release/evidence.json | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/release.json b/spec/fixtures/api/schemas/public_api/v4/release.json index a239be09919..02e23d2732d 100644 --- a/spec/fixtures/api/schemas/public_api/v4/release.json +++ b/spec/fixtures/api/schemas/public_api/v4/release.json @@ -22,6 +22,10 @@ "commit_path": { "type": "string" }, "tag_path": { "type": "string" }, "name": { "type": "string" }, + "evidences": { + "type": "array", + "items": { "$ref": "release/evidence.json" } + }, "assets": { "required": ["count", "links", "sources"], "properties": { diff --git a/spec/fixtures/api/schemas/public_api/v4/release/evidence.json b/spec/fixtures/api/schemas/public_api/v4/release/evidence.json new file mode 100644 index 00000000000..fbebac0acaa --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/release/evidence.json @@ -0,0 +1,14 @@ +{ + "type": "object", + "required" : [ + "sha", + "filepath", + "collected_at" + ], + "properties" : { + "sha": { "type": "string" }, + "filepath": { "type": "string" }, + "collected_at": { "type": "date" } + }, + "additionalProperties": false +} |