Skip to content

Commit 3ab87d5

Browse files
committed
Fix -D conversion to additional-properties, missed in bat files
1 parent d37ab14 commit 3ab87d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/windows/android-petstore-httpclient.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ If Not Exist %executable% (
55
)
66

77
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
8-
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g android -o samples\client\petstore\android\httpclient -Dlibrary=httpclient
8+
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g android -o samples\client\petstore\android\httpclient --additional-properties library=httpclient
99

1010
java %JAVA_OPTS% -jar %executable% %ags%

bin/windows/go-experimental-petstore.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo Removing files and folders under %STUB_DIR%
1414
del /F /S /Q %STUB_DIR%
1515

1616
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
17-
set ags=generate -t modules\openapi-generator\src\main\resources\%GENERATOR% -i %SPEC% -g %GENERATOR% -o %STUB_DIR% -DpackageName=petstore
17+
set ags=generate -t modules\openapi-generator\src\main\resources\%GENERATOR% -i %SPEC% -g %GENERATOR% -o %STUB_DIR% --additional-properties packageName=petstore
1818

1919
java %JAVA_OPTS% -jar %executable% %ags%
2020

0 commit comments

Comments
 (0)