[aspnetcore] configuration options to generate IActionResult` with `ActionResult<{{dataType}}>`
Created by: alexbenitez
Is there a way or config option (https://openapi-generator.tech/docs/generators/aspnetcore/) available to generate controllers using the generic IActionResult<T>
as the return type instead of just IActionResult? (to constraint the expected object to be returned)
I see @InfoSec812 was looking forward for the same feature.
Same here... I need to modify the template for the controllers to replace IActionResult
with ActionResult<{{dataType}}>
Originally posted by @InfoSec812 in https://github.com/OpenAPITools/openapi-generator/issues/6215#issuecomment-670475820