[Java][jersey2] Use builder pattern for requests (#4666)

* Use builder pattern for requests

* petstore

* Add @throws annotation

* regenerate jersey2 test files

* Also group bodyParam in builder class

* petstore java6

* regenerate java8

* ensure up to date
This commit is contained in:
Hippolyte HENRY
2020-01-18 09:12:20 +01:00
committed by William Cheng
parent 420039c9eb
commit ee984c38a5
139 changed files with 2378 additions and 1330 deletions

View File

@@ -12,6 +12,7 @@ Method | HTTP request | Description
> Client call123testSpecialTags(body)
To test special tags
To test special tags and operation ID starting with number
@@ -33,8 +34,9 @@ public class Example {
AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
Client body = new Client(); // Client | client model
try {
try {
Client result = apiInstance.call123testSpecialTags(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");