Skip to content

Commit 2295a46

Browse files
Update content/openapi/types-and-parameters.md
Co-authored-by: John Biundo <[email protected]>
1 parent 0d782f1 commit 2295a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/openapi/types-and-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async create(@Body() createCatDto: CreateCatDto) {
99
}
1010
```
1111

12-
> info **Hint** To explicitly set the body definition use the `@ApiBody()` decorator (`@nestjs/swagger` package).
12+
> info **Hint** To explicitly set the body definition use the `@ApiBody()` decorator (imported from the `@nestjs/swagger` package).
1313
1414
Based on the `CreateCatDto`, the module definition will be created:
1515

0 commit comments

Comments
 (0)