Closed
Description
project.zip
Bug Description
When I created a wrapper for ResponseEntity with a generic class inside, the API is generated with the wrapper type instead of the expected ResponseEntity type.
Steps to Reproduce
Create a custom wrapper for ResponseEntity with a generic class.
Generate API documentation (e.g., Swagger/OpenAPI).
Notice that the API uses the custom wrapper class instead of ResponseEntity.
Included a zip file with the code.
Expected Behavior
The API should return the exact type wrapped in the ResponseEntity, not the wrapper itself.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The bug has already been fixed. I'll write tests and submit a PR shortly!