Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 0d29b7d

Browse files
author
Pablo Mercado
authored
Merge pull request #100 from triggermesh/task/add-jira-docs
Add Jira target docs
2 parents 144a00e + 5b2f463 commit 0d29b7d

File tree

6 files changed

+1488
-0
lines changed

6 files changed

+1488
-0
lines changed
37.3 KB
Loading

docs/schemas/jira.custom.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"$ref": "#/definitions/JiraAPIRequest",
4+
"definitions": {
5+
"JiraAPIRequest": {
6+
"required": [
7+
"method",
8+
"path",
9+
"query",
10+
"payload"
11+
],
12+
"properties": {
13+
"method": {
14+
"type": "string"
15+
},
16+
"path": {
17+
"type": "string"
18+
},
19+
"query": {
20+
"patternProperties": {
21+
".*": {
22+
"type": "string"
23+
}
24+
},
25+
"type": "object"
26+
},
27+
"payload": {
28+
"type": "string",
29+
"media": {
30+
"binaryEncoding": "base64"
31+
}
32+
}
33+
},
34+
"additionalProperties": false,
35+
"type": "object"
36+
}
37+
}
38+
}

docs/schemas/jira.issue.get.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"$ref": "#/definitions/IssueGetRequest",
4+
"definitions": {
5+
"GetQueryOptions": {
6+
"required": [
7+
"Fields",
8+
"Expand",
9+
"Properties",
10+
"FieldsByKeys",
11+
"UpdateHistory",
12+
"ProjectKeys"
13+
],
14+
"properties": {
15+
"Fields": {
16+
"type": "string"
17+
},
18+
"Expand": {
19+
"type": "string"
20+
},
21+
"Properties": {
22+
"type": "string"
23+
},
24+
"FieldsByKeys": {
25+
"type": "boolean"
26+
},
27+
"UpdateHistory": {
28+
"type": "boolean"
29+
},
30+
"ProjectKeys": {
31+
"type": "string"
32+
}
33+
},
34+
"additionalProperties": false,
35+
"type": "object"
36+
},
37+
"IssueGetRequest": {
38+
"required": [
39+
"id",
40+
"options"
41+
],
42+
"properties": {
43+
"id": {
44+
"type": "string"
45+
},
46+
"options": {
47+
"$schema": "http://json-schema.org/draft-04/schema#",
48+
"$ref": "#/definitions/GetQueryOptions"
49+
}
50+
},
51+
"additionalProperties": false,
52+
"type": "object"
53+
}
54+
}
55+
}

0 commit comments

Comments
 (0)