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

@@ -2177,7 +2177,7 @@ class PetApi
/**
* Operation uploadFileWithRequiredFile
*
* uploads an image
* uploads an image (required)
*
* @param int $pet_id ID of pet to update (required)
* @param \SplFileObject $file file to upload (required)
@@ -2196,7 +2196,7 @@ class PetApi
/**
* Operation uploadFileWithRequiredFileWithHttpInfo
*
* uploads an image
* uploads an image (required)
*
* @param int $pet_id ID of pet to update (required)
* @param \SplFileObject $file file to upload (required)
@@ -2292,7 +2292,7 @@ class PetApi
/**
* Operation uploadFileWithRequiredFileAsync
*
* uploads an image
* uploads an image (required)
*
* @param int $pet_id ID of pet to update (required)
* @param \SplFileObject $file file to upload (required)
@@ -2314,7 +2314,7 @@ class PetApi
/**
* Operation uploadFileWithRequiredFileAsyncWithHttpInfo
*
* uploads an image
* uploads an image (required)
*
* @param int $pet_id ID of pet to update (required)
* @param \SplFileObject $file file to upload (required)
@@ -2390,7 +2390,7 @@ class PetApi
);
}
$resourcePath = '/pet/{petId}/uploadImageWithRequiredFile';
$resourcePath = '/fake/{petId}/uploadImageWithRequiredFile';
$formParams = [];
$queryParams = [];
$headerParams = [];