Skip to content

Commit 2ea1d2f

Browse files
committed
Update julia samples
1 parent 8f2f2c8 commit 2ea1d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/client/petstore/julia/src/apis/api_PetApi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ function _oacinternal_upload_file(_api::PetApi, pet_id::Int64; additional_metada
248248
_ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_upload_file_PetApi, "/pet/{petId}/uploadImage", ["petstore_auth", ])
249249
OpenAPI.Clients.set_param(_ctx.path, "petId", pet_id) # type Int64
250250
OpenAPI.Clients.set_param(_ctx.form, "additionalMetadata", additional_metadata) # type String
251-
OpenAPI.Clients.set_param(_ctx.file, "file", file) # type Vector{UInt8}
251+
OpenAPI.Clients.set_param(_ctx.file, "file", file) # type String
252252
OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ])
253253
OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["multipart/form-data", ] : [_mediaType])
254254
return _ctx

0 commit comments

Comments
 (0)