Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/related_issues.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/related_issues.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/related_issues.json b/spec/fixtures/api/schemas/public_api/v4/related_issues.json
new file mode 100644
index 00000000000..83095ab44c1
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/related_issues.json
@@ -0,0 +1,26 @@
+{
+ "type": "array",
+ "items": {
+ "type": "object",
+ "allOf": [
+ { "$ref": "../../../../../../spec/fixtures/api/schemas/public_api/v4/issue.json" },
+ {
+ "required" : [
+ "link_type",
+ "issue_link_id",
+ "link_created_at",
+ "link_updated_at"
+ ],
+ "properties" : {
+ "link_type": {
+ "type": "string",
+ "enum": ["relates_to", "blocks", "is_blocked_by"]
+ },
+ "issue_link_id": { "type": "integer" },
+ "link_created_at": { "type": "string" },
+ "link_updated_at": { "type": "string" }
+ }
+ }
+ ]
+ }
+}