Skip to content

Commit 5cddff1

Browse files
bschrammIBMvirkt25
authored andcommitted
docs: minor edits todolist tutorial
1 parent eb4be47 commit 5cddff1

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

docs/site/Decorators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ Register a general relation.
648648
_This feature has not yet been released in alpha form. Documentation will be
649649
added here as this feature progresses._
650650

651-
#### Specfic Relation Decorator
651+
#### Specific Relation Decorator
652652

653653
Syntax:
654654

docs/site/todo-list-tutorial-controller.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ lb4 controller
3434
Controller TodoList was created in src/controllers/
3535
```
3636

37-
And voilà! We now have a set of basic APIs for todo-lists just like that!
37+
And voilà! We now have a set of basic APIs for todo-lists, just like that!
3838

3939
### Create TodoList's Todo controller
4040

@@ -66,14 +66,13 @@ export class TodoListTodoController {
6666
}
6767
```
6868

69-
With this, we're now ready to add in some routes for our todo requests. To call
70-
the CRUD methods on a todo-list's todo items, we'll first need to create a
71-
constrained `TodoRepository`. We can achieve this by using our repository
72-
instance's `todos` factory function that we defined earlier in
73-
`TodoListRepository`.
69+
We're now ready to add in some routes for our todo requests. To call the CRUD
70+
methods on a todo-list's todo items, we'll first need to create a constrained
71+
`TodoRepository`. We can achieve this by using our repository instance's `todos`
72+
factory function that we defined earlier in `TodoListRepository`.
7473

75-
The `POST` request from `/todo-lists/{id}/todos` should look something like
76-
this:
74+
The `POST` request from `/todo-lists/{id}/todos` should look similar to the
75+
following request:
7776

7877
#### src/controllers/todo-list-todo.controller.ts
7978

@@ -163,7 +162,7 @@ Here are some new requests you can try out:
163162
contains property `todoListId` with the ID from before.
164163
- `GET /todos/{id}/todos` and see if you get the todo you created from before.
165164

166-
And there you have it! You now have the power to define API for related models!
165+
And there you have it! You now have the power to define APIs for related models!
167166

168167
### Navigation
169168

0 commit comments

Comments
 (0)