We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c53d0be commit 57f0f45Copy full SHA for 57f0f45
1 file changed
README.md
@@ -27,9 +27,16 @@ yarn add @didik-mulyadi/nodejs-api-docs
27
28
## Usage 💻
29
30
+Here's an example of how to use this package:
31
+
32
## nodejs-api-doc with @nest/swagger
33
-Here's an example of how to use this package:
34
+Step:
35
36
+1. Create a swagger config with `new DocumentBuilder()`
37
+2. Generate open api document object with `SwaggerModule.createDocument(app, config)`
38
+3. Setup nodejs-api-doc with `new NodejsApiDoc`
39
+4. Start nodejs-api-doc with `nodejsApiDoc.start()`
40
41
```typescript
42
// src/main.ts
0 commit comments