We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5095fe1 commit 961cbb5Copy full SHA for 961cbb5
modules/swagger-codegen/src/main/resources/nodejs/README.mustache
@@ -8,11 +8,10 @@ This example uses the [expressjs](http://expressjs.com/) framework. To see how
8
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)
9
10
### Running the server
11
-To run the server, follow these simple steps:
+To run the server, run:
12
13
```
14
-npm install
15
-node .
+npm start
16
17
18
To view the Swagger UI interface:
modules/swagger-codegen/src/main/resources/nodejs/package.mustache
@@ -3,6 +3,10 @@
3
"version": "{{appVersion}}",
4
"description": "{{{appDescription}}}",
5
"main": "index.js",
6
+ "scripts": {
7
+ "prestart": "npm install",
+ "start": "node index.js"
+ },
"keywords": [
"swagger"
],
0 commit comments