Open victormongi opened 9 months ago
I am having the same issue. Additionally, if I return a plain text response () => 'Hello, World!'
, the response body from Scalar is empty. Neither of these issues are present with the swagger-ui
provider.
If you're using bun as the runtime, the headers get set as an octet/stream instead of text/html or application/json. With Node, I don't run into the issue. If you go to the api endpoint you'll download a file instead of getting raw json/text/whatever.
If you're using bun as the runtime, the headers get set as an octet/stream instead of text/html or application/json. With Node, I don't run into the issue. If you go to the api endpoint you'll download a file instead of getting raw json/text/whatever.
What I expected the validation error from api, but got {}, this the example from postman