Skip to content

Commit 30a1761

Browse files
committed
revise wordings for powershell generator
1 parent b5a01b5 commit 30a1761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/PowerShellClientCodegen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public PowerShellClientCodegen() {
153153
cliOptions.clear();
154154
cliOptions.add(new CliOption(CodegenConstants.PACKAGE_NAME, "Client package name (e.g. io.swagger.client).").defaultValue(this.packageName));
155155
cliOptions.add(new CliOption(CodegenConstants.OPTIONAL_PROJECT_GUID, "GUID for PowerShell module (e.g. a27b908d-2a20-467f-bc32-af6f3a654ac5). A random GUID will be generated by default."));
156-
cliOptions.add(new CliOption("csharpClientPath", "Path to the C# API client generated by Swagger Codegen, e.g. $ScriptDir\\..\\csharp\\SwaggerClient where $ScriptDir is the current directory.").defaultValue(this.csharpClientPath));
156+
cliOptions.add(new CliOption("csharpClientPath", "Path to the C# API client generated by Swagger Codegen, e.g. $ScriptDir\\..\\csharp\\SwaggerClient where $ScriptDir is the current directory. NOTE: you will need to generate the C# API client separately.").defaultValue(this.csharpClientPath));
157157

158158
}
159159

@@ -166,7 +166,7 @@ public String getName() {
166166
}
167167

168168
public String getHelp() {
169-
return "Generates a PowerShell API client (beta).";
169+
return "Generates a PowerShell API client (beta). (The dependency C# API client needs to be generated separately.";
170170
}
171171

172172
public void setPackageName(String packageName) {

0 commit comments

Comments
 (0)