Zaid-Ajaj / Hawaii

dotnet CLI tool to generate type-safe F# and Fable clients from OpenAPI/Swagger or OData services
MIT License
140 stars 15 forks source link

Fix multi-part form Content-Disposition Headers #56

Closed varon closed 6 months ago

varon commented 6 months ago

With the default generation of these headers, Stability API's platform was not correctly handling the content-disposition headers and was rejecting our requests with BAD REQUEST.

This patches the behavior to explicitly set these headers - which solves the issue.

This isn't the most elegant solution, but it does address the problem - I'm open to more elegant approaches if you can suggest them.

varon commented 6 months ago

@Zaid-Ajaj - any luck? Would love to get this merged as it's blocking for us.

Zaid-Ajaj commented 6 months ago

Hi @varon this is merged and published as of Hawaii v0.69 🚀 it should be available on nuget soon

varon commented 6 months ago

Thank you! absolutely appreciated.