forked from loafle/openapi-generator-original
[java-client][resteasy][jersey2][google-api-client][okhttp-json] several fixes to make sent requests more accurate (#3703)
This commit is contained in:
@@ -942,7 +942,7 @@ public class FakeApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/fake";
|
||||
@@ -1168,7 +1168,7 @@ public class FakeApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call testEnumParametersCall(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/fake";
|
||||
@@ -1312,7 +1312,7 @@ public class FakeApi {
|
||||
return localVarCall;
|
||||
}
|
||||
private okhttp3.Call testGroupParametersCall(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/fake";
|
||||
@@ -1637,7 +1637,7 @@ public class FakeApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call testJsonFormDataCall(String param, String param2, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/fake/jsonFormData";
|
||||
@@ -1762,7 +1762,7 @@ public class FakeApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call testQueryParameterCollectionFormatCall(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/fake/test-query-paramters";
|
||||
|
||||
@@ -180,7 +180,7 @@ public class PetApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call deletePetCall(Long petId, String apiKey, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/pet/{petId}"
|
||||
@@ -297,7 +297,7 @@ public class PetApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call findPetsByStatusCall(List<String> status, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/pet/findByStatus";
|
||||
@@ -416,7 +416,7 @@ public class PetApi {
|
||||
*/
|
||||
@Deprecated
|
||||
public okhttp3.Call findPetsByTagsCall(List<String> tags, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/pet/findByTags";
|
||||
@@ -541,7 +541,7 @@ public class PetApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call getPetByIdCall(Long petId, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/pet/{petId}"
|
||||
@@ -776,7 +776,7 @@ public class PetApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call updatePetWithFormCall(Long petId, String name, String status, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/pet/{petId}"
|
||||
@@ -898,7 +898,7 @@ public class PetApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call uploadFileCall(Long petId, String additionalMetadata, File file, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/pet/{petId}/uploadImage"
|
||||
@@ -1024,7 +1024,7 @@ public class PetApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call uploadFileWithRequiredFileCall(Long petId, File requiredFile, String additionalMetadata, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/fake/{petId}/uploadImageWithRequiredFile"
|
||||
|
||||
@@ -68,7 +68,7 @@ public class StoreApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call deleteOrderCall(String orderId, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/store/order/{order_id}"
|
||||
@@ -176,7 +176,7 @@ public class StoreApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call getInventoryCall(final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/store/inventory";
|
||||
@@ -279,7 +279,7 @@ public class StoreApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call getOrderByIdCall(Long orderId, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/store/order/{order_id}"
|
||||
|
||||
@@ -383,7 +383,7 @@ public class UserApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call deleteUserCall(String username, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/user/{username}"
|
||||
@@ -494,7 +494,7 @@ public class UserApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call getUserByNameCall(String username, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/user/{username}"
|
||||
@@ -612,7 +612,7 @@ public class UserApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call loginUserCall(String username, String password, final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/user/login";
|
||||
@@ -739,7 +739,7 @@ public class UserApi {
|
||||
</table>
|
||||
*/
|
||||
public okhttp3.Call logoutUserCall(final ApiCallback _callback) throws ApiException {
|
||||
Object localVarPostBody = new Object();
|
||||
Object localVarPostBody = null;
|
||||
|
||||
// create path and map variables
|
||||
String localVarPath = "/user/logout";
|
||||
|
||||
Reference in New Issue
Block a user