
templates.CONTROLLER.ftl Maven / Gradle / Ivy
package ${rootPackage}.coreImpl.${typeLower};
import ${package}.${type};
import ${rootPackage}.coreImpl.${typeLower}.${type}Service;
import com.github.vladimirantin.core.web.rest.CoreRestController;
import ${DTO.canonicalName()};
import ${rootPackage}.coreImpl.${typeLower}.${type}Mapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/api/${api}s")
public class ${type}Controller extends CoreRestController<${type}Service, ${type}Mapper, ${DTO.simpleName()}, ${type}> {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy