Skip to content

Commit

Permalink
[nodejs] Fix deprecation notice when running sample nodejs script (#6412
Browse files Browse the repository at this point in the history
)

* Mustache template should use invokerPackage tag to generate import

* Remove deprecation notice
  • Loading branch information
sebastien-rosset authored May 24, 2020
1 parent e38168c commit 60d5ed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/nodejs-express-petstore-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ fi

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="generate -t modules/openapi-generator/src/main/resources/nodejs-express-server -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g nodejs-express-server -o samples/server/petstore/nodejs-express-server -Dservice $@"
ags="generate -t modules/openapi-generator/src/main/resources/nodejs-express-server -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g nodejs-express-server -o samples/server/petstore/nodejs-express-server $@"

java $JAVA_OPTS -jar $executable $ags
Original file line number Diff line number Diff line change
@@ -1 +1 @@
unset
5.0.0-SNAPSHOT

0 comments on commit 60d5ed3

Please sign in to comment.