You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.37/swagger-codegen-cli-2.4.37.jar`
252
+
For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.39/swagger-codegen-cli-2.4.39.jar`
(if you're on Windows, replace the last command with `java -jar modules\swagger-codegen-cli\target\swagger-codegen-cli.jar generate -i https://petstore.swagger.io/v2/swagger.json -l php -o c:\temp\php_api_client`)
396
399
397
-
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.37/swagger-codegen-cli-2.4.37.jar)
400
+
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.39/swagger-codegen-cli-2.4.39.jar)
398
401
399
402
To get a list of **general** options available, please run `java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar help generate` (for version 3.x check [3.0.0 branch](https://github.com/swagger-api/swagger-codegen/tree/3.0.0))
400
403
@@ -945,6 +948,7 @@ Here are some companies/projects using Swagger Codegen in production. To add you
Copy file name to clipboardExpand all lines: modules/swagger-codegen-maven-plugin/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ mvn clean compile
46
46
-`apiPackage` - the package to use for generated api objects/classes
47
47
-`invokerPackage` - the package to use for the generated invoker objects
48
48
-`modelNamePrefix` and `modelNameSuffix` - Sets the pre- or suffix for model classes and enums
49
+
-`localVariablePrefix` - adds a prefix for all generated local variables. Helps if your API has method names that conflict with local variable names.
49
50
-`withXml` - enable XML annotations inside the generated models and API (only works with Java `language` and libraries that provide support for JSON and XML)
50
51
-`configOptions` - a map of language-specific parameters (see below)
51
52
-`configHelp` - dumps the configuration help for the specified library (generates no sources)
0 commit comments