elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
90 stars 46 forks source link

Response `contentType` always follows Request #149

Open nxht opened 1 month ago

nxht commented 1 month ago

I have an endpoint that receives formdata as request and returns application/json as response.

If I set type of endpoint to formdata, the swagger documentation automatically receives response as formdata as well.

It would be better if there's way to set the contentType of response

0xrasla commented 2 weeks ago

Same here! any news ?