Open douglasjunior opened 5 months ago
this problem is specifically related to the 'accept' header. It works fine with other headers, but it doesn't with the accept header
Confirmed in the provided example: https://codesandbox.io/p/devbox/green-cache-5xjgvc
Is there an existing issue for this?
Current behavior
Swagger decorator @ApiHeader is not including header on request
Code
Result
Minimum reproduction code
https://codesandbox.io/p/devbox/green-cache-5xjgvc
Steps to reproduce
Just create a new NestJS project and add a new Controller like
TemplateController
above.Expected behavior
Expect that Swagger UI to include the proper
accept
value on request.Package
Other package
@nestjs/swagger
NestJS version
10.3.3
Packages versions
Node.js version
18.12.0
In which operating systems have you tested?
Other
No response