danielgtaylor / danielgtaylor/huma
Header tag not working for generic types
Open
bug
- Dominant language
- Go
- Stars
- 4.4k
- Forks
- 285
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
```go
type OutputResp[B any, H any] struct {
Body comm.ResponseT[B] `json:",inline" doc:",inline"`
Header H `json:",inline" header:",inline" doc:",inline"`
}
```
I'm trying to wrap my response with a generic type. While the body is working correctly, I'm having issues with the header. The response header doesn't display my custom headers.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.