huma icon indicating copy to clipboard operation
huma copied to clipboard

How to use the Components.Headers

Open ibigbug opened this issue 6 months ago • 0 comments

Similar to https://github.com/danielgtaylor/huma/issues/495

I want to define a common header that is documented and reused by a group of API.

What's the correct way to ref the header in the group or each Operation Register?

I see there's Security field on the Operation to referecne the Components.SecuritySchemes

so what about for Headers?

ibigbug avatar Jul 12 '25 14:07 ibigbug