Skip to content

Commit 4681f2d

Browse files
Update cli-plugin.md
1 parent 54c6318 commit 4681f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/openapi/cli-plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Now, the serialized metadata file must be loaded by the `SwaggerModule#loadPlugi
215215
```typescript
216216
import metadata from './metadata'; // <-- file auto-generated by the "PluginMetadataGenerator"
217217

218-
SwaggerModule.loadPluginMetadata(metadata); // <-- here
218+
await SwaggerModule.loadPluginMetadata(metadata); // <-- here
219219
const document = SwaggerModule.createDocument(app, config);
220220
```
221221

0 commit comments

Comments
 (0)