Minor improvement to Go client generator, move test case (#430)

* move test cases to under fake endpoint

* remove trailing spaces in the template

* update samples

* add new file

* minor fix to OAS3 spec
This commit is contained in:
William Cheng
2018-07-02 10:23:12 +08:00
committed by GitHub
parent 412923ab5f
commit 862fe79f32
140 changed files with 1199 additions and 916 deletions

View File

@@ -1077,7 +1077,7 @@ public class PetApi {
Object localVarPostBody = new Object();
// create path and map variables
String localVarPath = "/pet/{petId}/uploadImageWithRequiredFile"
String localVarPath = "/fake/{petId}/uploadImageWithRequiredFile"
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -1139,7 +1139,7 @@ public class PetApi {
}
/**
* uploads an image
* uploads an image (required)
*
* @param petId ID of pet to update (required)
* @param file file to upload (required)
@@ -1153,7 +1153,7 @@ public class PetApi {
}
/**
* uploads an image
* uploads an image (required)
*
* @param petId ID of pet to update (required)
* @param file file to upload (required)
@@ -1168,7 +1168,7 @@ public class PetApi {
}
/**
* uploads an image (asynchronously)
* uploads an image (required) (asynchronously)
*
* @param petId ID of pet to update (required)
* @param file file to upload (required)