Skip to content

Commit 8916412

Browse files
committed
Make usage of -D more explicit in example
1 parent a4d6d7b commit 8916412

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ and `config.json` contains the following as an example:
507507
```
508508

509509
Supported config options can be different per language. Running `config-help -l {lang}` will show available options.
510-
**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)
510+
**These options are applied via configuration file (e.g. config.json) or by passing them with `java -jar swagger-codegen-cli.jar -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)
511511

512512
```sh
513513
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar config-help -l java
@@ -532,7 +532,7 @@ CONFIG OPTIONS
532532
retrofit - HTTP client: OkHttp 2.4.0. JSON processing: Gson 2.3.1 (Retrofit 1.9.0)
533533
retrofit2 - HTTP client: OkHttp 2.5.0. JSON processing: Gson 2.4 (Retrofit 2.0.0-beta2)
534534
google-api-client - HTTP client: google-api-client 1.23.0. JSON processing: Jackson 2.8.9
535-
rest-assured - HTTP client: rest-assured : 3.1.0. JSON processing: Gson 2.6.1. Only for Java8
535+
rest-assured - HTTP client: rest-assured : 3.1.0. JSON processing: Gson 2.6.1. Only for Java8
536536
```
537537

538538
Your config file for Java can look like
@@ -802,7 +802,7 @@ Here are some companies/projects using Swagger Codegen in production. To add you
802802
- [Hewlett Packard Enterprise](https://hpe.com)
803803
- [High Technologies Center](http://htc-cs.com)
804804
- [Hootsuite](https://hootsuite.com/)
805-
- [Huawei Cloud](http://www.huaweicloud.com/en-us/product/cs.html)
805+
- [Huawei Cloud](http://www.huaweicloud.com/en-us/product/cs.html)
806806
- [Husbanken](https://www.husbanken.no)
807807
- [IBM](https://www.ibm.com)
808808
- [IMS Health](http://www.imshealth.com/en/solution-areas/technology-and-applications)
@@ -1109,7 +1109,7 @@ The Swagger Codegen project is intended as a benefit for users of the Swagger /
11091109
* Generated code is intentionally _not_ subject to the parent project license
11101110

11111111
When code is generated from this project, it shall be considered **AS IS** and owned by the user of the software. There are no warranties--expressed or implied--for generated code. You can do what you wish with it, and once generated, the code is your responsibility and subject to the licensing terms that you deem appropriate.
1112-
1112+
11131113
License
11141114
-------
11151115

@@ -1127,4 +1127,3 @@ limitations under the License.
11271127

11281128
---
11291129
<img src="http://swagger.io/wp-content/uploads/2016/02/logo.jpg"/>
1130-

0 commit comments

Comments
 (0)