Conversation
|
I wanted to check in before doing this (which can happen in a separate PR) in case the current instance layout was for a reason I wasn't aware of. |
|
@maksbotan Can you take a look at this please? :) |
Recurse through `Headers hdrs` just like any other decorator that should be ignored.
Unconditionally requesting `ToSchema a` etc means that we erroneously demand `ToSchema NoContent`. Instead delegate to the `HasOpenApi` instance for the related `Verb`, allowing the overlapping instances for `NoContent` to be selected.
02e7f35 to
ae62532
Compare
|
Any chance someone could take a look at this when you have a minute? 🙏 |
|
@maksbotan ping! :) |
Stop
BodyTypesincorrectly addingNoContentto the list of body types if it appears within aHeaders(on endpoints that set response headers but don't return a response body).