Description
In the generated @hey-api/client-angular client, the following snippet will remove the 'Content-Type' header, but does not reassign the HttpHeaders to opts.headers. Angular's HttpHeaders are immutable and .delete() returns a copy with the header removed.
https://github.com/hey-api/openapi-ts/blob/82e9f18f9076948c08d3bbdadbca2f7b8c4df017/packages/openapi-ts/src/plugins/%40hey-api/client-angular/bundle/client.ts#L83-L86
Reproducible example or configuration
No response
OpenAPI specification (optional)
No response
System information (optional)
No response
Description
In the generated
@hey-api/client-angularclient, the following snippet will remove the'Content-Type'header, but does not reassign theHttpHeaderstoopts.headers. Angular's HttpHeaders are immutable and.delete()returns a copy with the header removed.https://github.com/hey-api/openapi-ts/blob/82e9f18f9076948c08d3bbdadbca2f7b8c4df017/packages/openapi-ts/src/plugins/%40hey-api/client-angular/bundle/client.ts#L83-L86
Reproducible example or configuration
No response
OpenAPI specification (optional)
No response
System information (optional)
No response