Skip to content

Commit 70cc8c5

Browse files
Update content/recipes/swagger.md
Co-Authored-By: John Biundo <[email protected]>
1 parent 20091ee commit 70cc8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/swagger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class CreateCatDto {
192192
}
193193
```
194194

195-
y default, all of these fields are required. To create a type with the same fields, but with each one optional, use `PartialType()` passing the class reference (`CreateCatDto`) as an argument:
195+
By default, all of these fields are required. To create a type with the same fields, but with each one optional, use `PartialType()` passing the class reference (`CreateCatDto`) as an argument:
196196

197197
```typescript
198198
export class UpdateCatDto extends PartialType(CreateCatDto) {}

0 commit comments

Comments
 (0)