Skip to content

Commit 4f0823b

Browse files
committed
rebuilt client
1 parent 31eb392 commit 4f0823b

File tree

1 file changed

+2
-2
lines changed
  • samples/client/petstore/android-java/src/main/java/io/swagger/client/api

1 file changed

+2
-2
lines changed

samples/client/petstore/android-java/src/main/java/io/swagger/client/api/PetApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ public void deletePet (String api_key, Long petId) throws ApiException {
300300
}
301301

302302

303-
public void uploadFile (String additionalMetadata, File file) throws ApiException {
303+
public void uploadFile (Long petId, String additionalMetadata, File file) throws ApiException {
304304
Object postBody = null;
305305

306306

307307

308308
// create path and map variables
309-
String path = "/pet/{petId}/uploadImage".replaceAll("\\{format\\}","json");
309+
String path = "/pet/{petId}/uploadImage".replaceAll("\\{format\\}","json").replaceAll("\\{" + "petId" + "\\}", apiInvoker.escapeString(petId.toString()));
310310

311311
// query params
312312
Map<String, String> queryParams = new HashMap<String, String>();

0 commit comments

Comments
 (0)