Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 0dff1f2

Browse files
committed
Fix system properties in obj scripts
1 parent f75a273 commit 0dff1f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/objc-petstore-coredata.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ then
2626
fi
2727

2828
# if you've executed sbt assembly previously it will use that instead.
29-
export GENERATOR_GLOBALS="-D apiDocs=false -D modelDocs=false"
29+
export GENERATOR_GLOBALS="-DapiDocs=false -DmodelDocs=false"
3030
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties ${GENERATOR_GLOBALS}"
3131
ags="generate -t modules/openapi-generator/src/main/resources/objc -i modules/openapi-generator/src/test/resources/2_0/petstore.json -g objc -o samples/client/petstore/objc/core-data --additional-properties coreData=true -c bin/objc-petstore.json $@"
3232

bin/openapi3/objc-petstore-coredata.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ then
2626
fi
2727

2828
# if you've executed sbt assembly previously it will use that instead.
29-
export GENERATOR_GLOBALS="-D apiDocs=false -D modelDocs=false"
29+
export GENERATOR_GLOBALS="-DapiDocs=false -DmodelDocs=false"
3030
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties ${GENERATOR_GLOBALS}"
3131
ags="generate -t modules/openapi-generator/src/main/resources/objc -i modules/openapi-generator/src/test/resources/3_0/petstore.json -g objc -o samples/client/petstore/objc/core-data --additional-properties coreData=true,appName=PetstoreClient $@"
3232

0 commit comments

Comments
 (0)