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

Commit 0e4663f

Browse files
committed
Fix API documentation
1 parent 6006b53 commit 0e4663f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/main.apib

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Resources related to the tasks in the API.
1212

1313
### List All Tasks [GET]
1414

15-
+ Response 200 (application/json)
15+
+ Response 200 (application/json; charset=utf-8)
1616

1717
[
1818
{
@@ -39,14 +39,14 @@ Resources related to the tasks in the API.
3939
+ description: `Buy milk` (string) - Task description
4040
+ isDone: false (boolean, required) - Done status
4141

42-
+ Request (application/json)
42+
+ Request (application/json; charset=utf-8)
4343

4444
{
4545
"description": "Buy milk",
4646
"isDone": false
4747
}
4848

49-
+ Response 201 (application/json)
49+
+ Response 201 (application/json; charset=utf-8)
5050

5151
{
5252
"__v": 0,
@@ -65,7 +65,7 @@ Resources related to the tasks in the API.
6565

6666
### View a Task [GET]
6767

68-
+ Response 200 (application/json)
68+
+ Response 200 (application/json; charset=utf-8)
6969

7070
{
7171
"__v": 0,
@@ -82,14 +82,14 @@ Resources related to the tasks in the API.
8282
+ description: `Buy milk` (string) - Task description
8383
+ isDone: true (boolean, required) - Done status
8484

85-
+ Request (application/json)
85+
+ Request (application/json; charset=utf-8)
8686

8787
{
8888
"description": "Buy milk",
8989
"isDone": true
9090
}
9191

92-
+ Response 200 (application/json)
92+
+ Response 200 (application/json; charset=utf-8)
9393

9494
{
9595
"__v": 0,
@@ -106,14 +106,14 @@ Resources related to the tasks in the API.
106106
+ description: `Buy more milk` (string) - Task description
107107
+ isDone: true (boolean) - Done status
108108

109-
+ Request (application/json)
109+
+ Request (application/json; charset=utf-8)
110110

111111
{
112112
"description": "Buy more milk"
113113
}
114114

115115

116-
+ Response 200 (application/json)
116+
+ Response 200 (application/json; charset=utf-8)
117117

118118
+ Attributes (Task)
119119

0 commit comments

Comments
 (0)