diff options
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/issue_link.json')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/issue_link.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/issue_link.json b/spec/fixtures/api/schemas/public_api/v4/issue_link.json new file mode 100644 index 00000000000..000e8485aca --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/issue_link.json @@ -0,0 +1,20 @@ +{ + "type": "object", + "properties" : { + "source_issue": { + "allOf": [ + { "$ref": "../../../../../../spec/fixtures/api/schemas/public_api/v4/issue.json" } + ] + }, + "target_issue": { + "allOf": [ + { "$ref": "../../../../../../spec/fixtures/api/schemas/public_api/v4/issue.json" } + ] + }, + "link_type": { + "type": "string", + "enum": ["relates_to", "blocks", "is_blocked_by"] + } + }, + "required" : [ "source_issue", "target_issue", "link_type" ] +} |