Schnittstelle CustomType
public interface CustomType
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasParameter(ServiceExporter serviceExporter, Class<?> type, String name, boolean required, TypescriptGenerator typescriptGenerator) Class<?>findBestMatchingDto(ServiceExporter serviceExporter, Class<?> type, TypescriptGenerator typescriptGenerator) getImports(TypescriptGenerator typescriptGenerator, AbstractModelExporter exporter, Class<?> type, boolean addI18n, ExportTypescript exportTypescriptConfig) Class<?>getType()booleanisAssignableFrom(Class<?> type) voidwriteService(TypescriptGenerator typescriptGenerator, ServiceExporter serviceExporter, Class<?> type, ServiceExporter.RequestBodyHelper requestBodyHelper, PrintWriter writer, PrintWriter writerInterface, Method method, List<ServiceExporter.ReqParameter> reqParameters, Map<String, String> genericsReplacement, String tsReturnType, String httpParams, String urlParams, org.springframework.web.bind.annotation.RequestMethod requestMethod, String servicePath)
-
Methodendetails
-
isAssignableFrom
-
getImports
Collection<String> getImports(TypescriptGenerator typescriptGenerator, AbstractModelExporter exporter, Class<?> type, boolean addI18n, ExportTypescript exportTypescriptConfig) -
getType
Class<?> getType() -
writeService
void writeService(TypescriptGenerator typescriptGenerator, ServiceExporter serviceExporter, Class<?> type, ServiceExporter.RequestBodyHelper requestBodyHelper, PrintWriter writer, PrintWriter writerInterface, Method method, List<ServiceExporter.ReqParameter> reqParameters, Map<String, String> genericsReplacement, String tsReturnType, String httpParams, String urlParams, org.springframework.web.bind.annotation.RequestMethod requestMethod, String servicePath) -
asParameter
String asParameter(ServiceExporter serviceExporter, Class<?> type, String name, boolean required, TypescriptGenerator typescriptGenerator) -
findBestMatchingDto
Class<?> findBestMatchingDto(ServiceExporter serviceExporter, Class<?> type, TypescriptGenerator typescriptGenerator)
-