forked from loafle/openapi-generator-original
parent
f91a5f7108
commit
58ed6afc0d
@ -230,7 +230,7 @@ public class Generate extends OpenApiGeneratorCommand {
|
|||||||
@Option(name = {"--log-to-stderr"},
|
@Option(name = {"--log-to-stderr"},
|
||||||
title = "Log to STDERR",
|
title = "Log to STDERR",
|
||||||
description = "write all log messages (not just errors) to STDOUT."
|
description = "write all log messages (not just errors) to STDOUT."
|
||||||
+ " Useful for piping the JSON output of debug options (e.g. `-DdebugOperations`) to an external parser directly while testing a generator.")
|
+ " Useful for piping the JSON output of debug options (e.g. `--global-property debugOperations`) to an external parser directly while testing a generator.")
|
||||||
private Boolean logToStderr;
|
private Boolean logToStderr;
|
||||||
|
|
||||||
@Option(name = {"--enable-post-process-file"}, title = "enable post-process file", description = CodegenConstants.ENABLE_POST_PROCESS_FILE_DESC)
|
@Option(name = {"--enable-post-process-file"}, title = "enable post-process file", description = CodegenConstants.ENABLE_POST_PROCESS_FILE_DESC)
|
||||||
@ -407,7 +407,6 @@ public class Generate extends OpenApiGeneratorCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (globalProperties != null && !globalProperties.isEmpty()) {
|
if (globalProperties != null && !globalProperties.isEmpty()) {
|
||||||
System.err.println("[DEPRECATED] -D arguments after 'generate' are application arguments and not Java System Properties, please consider changing to --global-property, apply your system properties to JAVA_OPTS, or move the -D arguments before the jar option.");
|
|
||||||
applyGlobalPropertiesKvpList(globalProperties, configurator);
|
applyGlobalPropertiesKvpList(globalProperties, configurator);
|
||||||
}
|
}
|
||||||
applyInstantiationTypesKvpList(instantiationTypes, configurator);
|
applyInstantiationTypesKvpList(instantiationTypes, configurator);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user