forked from loafle/openapi-generator-original
redundant quotation mark (#3837)
* Removed redundant quotation mark This additional quotation mark is causing problems in out project and should be removed. ngrep output: ``` Content-Disposition: form-data; name="file"; filename="file"" ..Content-Transfer-Encoding: binary..Content-Type: image/jpg..Content-Length: 27855..........JFIF.... ``` * updated petstore sample * removed line break
This commit is contained in:
@@ -118,7 +118,7 @@ public interface PetApi {
|
||||
@Multipart
|
||||
@POST("pet/{petId}/uploadImage")
|
||||
Call<ModelApiResponse> uploadFile(
|
||||
@Path("petId") Long petId, @Part("additionalMetadata") String additionalMetadata, @Part("file\"; filename=\"file\"") RequestBody file
|
||||
@Path("petId") Long petId, @Part("additionalMetadata") String additionalMetadata, @Part("file\"; filename=\"file") RequestBody file
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user