According to the OpenApi Spcec there are certain header parameters, that are not allowed as part of the regular parameters specification in the Swagger Spec. These Headers (Accept, Content-Type and Authorization) are described using other OpenApi fields.
The NSwag Swagger generation should respect/filter that, when processing properties marked with FromHeader.
According to the OpenApi Spcec there are certain header parameters, that are not allowed as part of the regular parameters specification in the Swagger Spec. These Headers (
Accept
,Content-Type
andAuthorization
) are described using other OpenApi fields.The NSwag Swagger generation should respect/filter that, when processing properties marked with
FromHeader
.