danielgtaylor / danielgtaylor/huma
[feature] cannot add headers in error response in openapi doc
- Dominant language
- Go
- Stars
- 4.4k
- Forks
- 285
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description


Those header key are set by http middleware, so adding to openapi is the job to be done.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue mentions HTTP middleware and OpenAPI error responses but names no files or tests. Start by tracing how error responses are represented in the OpenAPI document and how middleware-set headers are handled; done means those headers can be included in the documented error response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, openapi
- Domain
- api, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100