Skip to content

Commit ff10df4

Browse files
authoredNov 30, 2021
Update README.md
1 parent fe789d8 commit ff10df4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,8 @@ var options = {
263263
url: "/api-docs/swagger.json",
264264
},
265265
}
266-
267-
app.use('/api-docs', swaggerUi.serveFiles(null, options), swaggerUi.setup(null, options));
268266
app.get("/api-docs/swagger.json", (req, res) => res.json(swaggerDocument));
267+
app.use('/api-docs', swaggerUi.serveFiles(null, options), swaggerUi.setup(null, options));
269268
```
270269

271270

0 commit comments

Comments
 (0)
Please sign in to comment.