Bug: return_dto
not used in openapi spec when Response
is returned by handler
#3760
Labels
Bug 🐛
This is something that is not working as expected
Description
When I return a
Response[MyDTO]
, I expect the generated openapi spec to include the full dto but it appears to return an empty schema{}
instead. #1631 appears to have implemented support for this, but maybe it broke since then. The code below shows that the DTO is being used (because the camelCase rename strategy is applied) , but just not included in the api spec.URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
The text was updated successfully, but these errors were encountered: