6 Commits

Author SHA1 Message Date
condorcorde
e70a9564e0
[PowerShell] Fix missing Content-Type header on a 204 response (#19340)
* Allow for binary response content

* AllowNull for $ContentTypes

* Update PSApiClient.ps1
2024-08-13 15:20:46 +08:00
condorcorde
6da3dc5c10
Allow for binary response content (#19331) 2024-08-11 22:48:03 +08:00
condorcorde
fbc8616a06
Fix #17740 (multipart/form-data request) and proxy behaviour (#18315)
* Support multipart requests

* Further code optimization

* Update ApiClient.ps1

* Set $Multipart

* Corrections after petstore tests

* Update api_client.mustache

* Update api_client.nustache

* Update api_client.mustache

* Tabs removed
2024-04-07 21:42:19 +08:00
condorcorde
5a7f050889
[PowerShell] Support multiple types in Accept header (#17765)
* Update api_client.mustache

Allow Accept header to contain multiple MIME types

* Changes after build

* Update api_client.mustache

Return JSON MIME first on -Multiple -JsonFirst

* updated PetStore files
2024-02-07 12:55:24 +08:00
Leonid Olevskii
3762277206
Use .Content of for accessing response body in powershell (#17342) 2023-12-07 22:50:33 +08:00
William Cheng
372894dd1d
Add powershell echo test, rename api key names (#17043)
* add powershell echo test, rename api key names

* update
2023-11-13 00:09:46 +08:00