Open
Description
Description
@Autowired constructor annotation is still present in the generated api class even if generateClientAsBean is set to false. Is this intended or can be removed from the mustache file?
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/Java/libraries/restclient/api.mustache#L47
This is properly guarded in resttemplate mustache file https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/api.mustache#L47
openapi-generator version
openapi-generator version 7.12.0