mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
rebuild client
This commit is contained in:
parent
fde5014bf9
commit
31eb392d40
@ -402,12 +402,13 @@ public class PetApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void uploadFile (String additionalMetadata, File file) throws ApiException {
|
public void uploadFile (Long petId, String additionalMetadata, File file) throws ApiException {
|
||||||
Object postBody = null;
|
Object postBody = null;
|
||||||
|
|
||||||
|
|
||||||
// create path and map variables
|
// create path and map variables
|
||||||
String path = "/pet/{petId}/uploadImage".replaceAll("\\{format\\}","json");
|
String path = "/pet/{petId}/uploadImage".replaceAll("\\{format\\}","json")
|
||||||
|
.replaceAll("\\{" + "petId" + "\\}", apiInvoker.escapeString(petId.toString()));
|
||||||
|
|
||||||
// query params
|
// query params
|
||||||
Map<String, String> queryParams = new HashMap<String, String>();
|
Map<String, String> queryParams = new HashMap<String, String>();
|
||||||
|
Loading…
Reference in New Issue
Block a user