diff --git a/modules/openapi-generator-cli/src/main/java/org/openapitools/codegen/cmd/Generate.java b/modules/openapi-generator-cli/src/main/java/org/openapitools/codegen/cmd/Generate.java index de331cde1ea..5e6f106e1bc 100644 --- a/modules/openapi-generator-cli/src/main/java/org/openapitools/codegen/cmd/Generate.java +++ b/modules/openapi-generator-cli/src/main/java/org/openapitools/codegen/cmd/Generate.java @@ -80,10 +80,10 @@ public class Generate implements Runnable { @Option( name = {"-c", "--config"}, title = "configuration file", - description = "Path to configuration file configuration file. It can be json or yaml." - + "If file is json, the content should have the format {\"optionKey\":\"optionValue\", \"optionKey1\":\"optionValue1\"...}." - + "If file is yaml, the content should have the format optionKey: optionValue" - + "Supported options can be different for each language. Run config-help -g {generator name} command for language specific config options.") + description = "Path to configuration file. It can be JSON or YAML. " + + "If file is JSON, the content should have the format {\"optionKey\":\"optionValue\", \"optionKey1\":\"optionValue1\"...}. " + + "If file is YAML, the content should have the format optionKey: optionValue. " + + "Supported options can be different for each language. Run config-help -g {generator name} command for language-specific config options.") private String configFile; @Option(name = {"-s", "--skip-overwrite"}, title = "skip overwrite",