Skip to content

Commit 956acd2

Browse files
author
Saketh Pericherla
committed
add complete working backend implementation
1 parent a2941d4 commit 956acd2

29 files changed

+8836
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "create-issue",
4+
"type": "object",
5+
"properties": {
6+
"title": {
7+
"type": "string"
8+
},
9+
"description": {
10+
"type": "string"
11+
},
12+
"assigneeId": {
13+
"type": "string"
14+
}
15+
},
16+
"required": ["title"],
17+
"additionalProperties": false
18+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "delete-issue",
4+
"type": "object",
5+
"properties": {
6+
"issueId": {
7+
"type": "string"
8+
}
9+
},
10+
"required": ["issueId"],
11+
"additionalProperties": false
12+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "get-issues",
4+
"type": "object",
5+
"properties": {
6+
"userType": {
7+
"type": "string",
8+
"enum": ["reporter", "assignee"]
9+
}
10+
},
11+
"required": ["userType"],
12+
"additionalProperties": false
13+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "update-issue",
4+
"type": "object",
5+
"properties": {
6+
"assigneeId": {
7+
"type": "string"
8+
},
9+
"title": {
10+
"type": "string"
11+
},
12+
"description": {
13+
"type": "string"
14+
},
15+
"status": {
16+
"type": "string"
17+
}
18+
},
19+
"minProperties": 1,
20+
"additionalProperties": false
21+
}

0 commit comments

Comments
 (0)