Skip to content

Commit c0a1b1e

Browse files
Update swagger.md
1 parent 7084b15 commit c0a1b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/recipes/swagger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ The following decorators have been changed/renamed:
940940
- `@ApiImplicitParam` is now `@ApiParam`
941941
- `@ApiImplicitBody` is now `@ApiBody`
942942
- `@ApiImplicitHeader` is now `@ApiHeader`
943-
- `@ApiOperation({{ '{' }} title: 'test' {{ '}' }})` is now`@ApiOperation({{ '{' }} summary: 'test' {{ '}' }})`
943+
- `@ApiOperation({{ '{' }} title: 'test' {{ '}' }})` is now `@ApiOperation({{ '{' }} summary: 'test' {{ '}' }})`
944944
- `@ApiUseTags` is now `@ApiTags`
945945

946946
`DocumentBuilder` breaking changes (updated method signatures):
@@ -950,7 +950,7 @@ The following decorators have been changed/renamed:
950950
- `addOAuth2`
951951
- `setContactEmail` is now `setContact`
952952
- `setHost` has been removed
953-
- `setSchemes` has been removed
953+
- `setSchemes` has been removed (use the `addServer` instead, e.g., `addServer('http://')`)
954954

955955
The following methods have been added:
956956

0 commit comments

Comments
 (0)