mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-06 08:06:12 +00:00
[haskell-http-client] regen samples (#492)
This commit is contained in:
committed by
William Cheng
parent
a14e757059
commit
79fafda012
@@ -135,7 +135,7 @@ runPet mgr config = do
|
||||
|
||||
-- multipart/form-data file uploads are just a different content-type
|
||||
let uploadFileRequest = S.uploadFile (S.PetId pid)
|
||||
`S.applyOptionalParam` S.File "package.yaml" -- the file contents of the path are read when dispatched
|
||||
`S.applyOptionalParam` S.File2 "package.yaml" -- the file contents of the path are read when dispatched
|
||||
`S.applyOptionalParam` S.AdditionalMetadata "a package.yaml file"
|
||||
uploadFileRequestResult <- S.dispatchMime mgr config uploadFileRequest
|
||||
mapM_ (\r -> putStrLn $ "uploadFile: " <> show r) uploadFileRequestResult
|
||||
|
||||
Reference in New Issue
Block a user