Header generation for PDF download ? #1186
Labels
bug 🔥
Something isn't working
prioritized 🚚
This issue has been prioritized and will be worked on soon
Milestone
Discussed in https://github.com/orgs/hey-api/discussions/1185
Originally posted by jeromeduprazdange October 23, 2024
Hello !
I have a put endpoint that returns a PDF, here is the openapi spec:
But when I generate my client, I have this:
And I don't have a working PDF if I don't manually add these to the request:
I don't understand why it's not added to my convertHtmlToPdf automatically and if I'm doing something bad.
Also, I use '@hey-api/client-axios' with the 'asClass' option to true.
Thanks!
The text was updated successfully, but these errors were encountered: