Skip to content

Commit df2cbfd

Browse files
committed
Merge pull request #720 from akras14/master
Fixes a bug with Node.js example generating invalid package.json and swa...
2 parents b70f5bc + df95114 commit df2cbfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/swagger-codegen/src/main/resources/nodejs/package.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "{{projectName}}",
33
"version": "{{appVersion}}",
4-
"description": "{{appDescription}}",
4+
"description": "{{{appDescription}}}",
55
"main": "index.js",
66
"keywords": [
77
"swagger"

modules/swagger-codegen/src/main/resources/nodejs/swagger.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"title": "{{appName}}",
5-
"description": "{{appDescription}}",
5+
"description": "{{{appDescription}}}",
66
"version": "{{apiVersion}}"
77
},
88
{{#apiInfo}}

0 commit comments

Comments
 (0)