Skip to content

Commit 56951a2

Browse files
authored
update wording related to config.json
1 parent 7fbe1ae commit 56951a2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,15 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
496496
-o samples/client/petstore/java \
497497
-c path/to/config.json
498498
```
499-
Supported config options can be different per language. Running `config-help -l {lang}` will show available options. **These options are applied
500-
by passing them with `-D{optionName}={optionValue}**.
499+
and `config.json` contains the following as an example:
500+
```
501+
{
502+
"apiPackage" : "petstore"
503+
}
504+
```
505+
506+
Supported config options can be different per language. Running `config-help -l {lang}` will show available options.
507+
**These options are applied via configuration file (e.g. config.json) or by passing them with `-D{optionName}={optionValue}**. (If `-D{optionName}` does not work, please open a [ticket](https://github.com/swagger-api/swagger-codegen/issues/new) and we'll look into it)
501508

502509
```
503510
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l java

0 commit comments

Comments
 (0)