Skip to content

Commit da9aa75

Browse files
Merge pull request #1676 from Tony133/docs/openapi
docs(openapi): fix hint
2 parents 0e88d2e + 3400e94 commit da9aa75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/openapi/cli-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
TypeScript's metadata reflection system has several limitations which make it impossible to, for instance, determine what properties a class consists of or recognize whether a given property is optional or required. However, some of these constraints can be addressed at compilation time. Nest provides a plugin that enhances the TypeScript compilation process to reduce the amount of boilerplate code required.
44

5-
> warning **Hint** This plugin is **opt-in**. If you prefer, you can declare all decorators manually, or only specific decorators where you need them.
5+
> info **Hint** This plugin is **opt-in**. If you prefer, you can declare all decorators manually, or only specific decorators where you need them.
66
77
#### Overview
88

@@ -55,7 +55,7 @@ export class CreateUserDto {
5555

5656
The plugin adds appropriate decorators on the fly based on the **Abstract Syntax Tree**. Thus you won't have to struggle with `@ApiProperty` decorators scattered throughout the code.
5757

58-
> warning **Hint** The plugin will automatically generate any missing swagger properties, but if you need to override them, you simply set them explicitly via `@ApiProperty()`.
58+
> info **Hint** The plugin will automatically generate any missing swagger properties, but if you need to override them, you simply set them explicitly via `@ApiProperty()`.
5959
6060
#### Comments introspection
6161

0 commit comments

Comments
 (0)