You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating the api client from an OpenAPI schema the header property is generated with the required headers. However when specifying the header option on the fetch function the header will not be send.
The correct property is headers. Specifying this property will send the header with fetch.
Environment
Reproduction
Client usage
Open API schema:
Describe the bug
When generating the api client from an OpenAPI schema the
header
property is generated with the required headers. However when specifying the header option on the fetch function the header will not be send.The correct property is
headers
. Specifying this property will send the header with fetch.Generated Code:
Expected Code:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: