diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-10 03:12:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-10 03:12:47 +0300 |
commit | cf66f24775fed5c73cda783abf25c1281e81fedf (patch) | |
tree | d2fdbfb7182a689fe776dde6ff26172c309858f4 /spec/fixtures | |
parent | 94539479513935f6a50209194a2836f860960f3a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/jira_connect/pull_request.json | 8 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/jira_connect/reviewer.json | 20 |
2 files changed, 27 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/jira_connect/pull_request.json b/spec/fixtures/api/schemas/jira_connect/pull_request.json index 430752335be..a24af318d30 100644 --- a/spec/fixtures/api/schemas/jira_connect/pull_request.json +++ b/spec/fixtures/api/schemas/jira_connect/pull_request.json @@ -16,6 +16,12 @@ "author": { "$ref": "./author.json" }, + "reviewers": { + "type": "array", + "items": { + "$ref": "./reviewer.json" + } + }, "commentCount": { "type": "integer" }, @@ -60,4 +66,4 @@ "updateSequenceId" ], "additionalProperties": false -}
\ No newline at end of file +} diff --git a/spec/fixtures/api/schemas/jira_connect/reviewer.json b/spec/fixtures/api/schemas/jira_connect/reviewer.json new file mode 100644 index 00000000000..a51af87e4ca --- /dev/null +++ b/spec/fixtures/api/schemas/jira_connect/reviewer.json @@ -0,0 +1,20 @@ +{ + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "approvalStatus": { + "type": "string" + } + }, + "required": [ + "name", + "email", + "approvalStatus" + ], + "additionalProperties": false +} |