forked from loafle/openapi-generator-original
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:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user