public class RestConnect extends Object
| Constructor and Description |
|---|
RestConnect() |
public static RestConnect getInstance()
public RestConnect withApiName(String apiName)
public RestConnect withOutputDir(Path outputDir)
public RestConnect createConnectorFromSpec(File spec, SpecFormat format, Parser parser, ConnectorType connectorType)
public static void run(RestConnectAPIModel model, TemplateEngineBuilder templateEngine, Path outputDir, boolean generateProjectFiles, boolean packageConnector) throws Exception
Exceptionpublic static TemplateEngineBuilder getTemplateEngine(ConnectorType connectorType)
public RestConnect withPackageConnector(boolean packageConnector)
public RestConnect withCategory(String category)
public RestConnect withGenerateProjectFiles(boolean generateProjectFiles)
public RestConnect withprojectDescription(String projectDescription)
public RestConnect withDependency(MavenDependency dependency)
public RestConnect withRootDir(String rootDir)
public RestConnect withCategory(ConnectorCategory connectorCategory)
public RestConnect withCustomPackage(String customPackage)
public RestConnectAPIModel getModel() throws Exception
Exceptionpublic RestConnect withGroupId(String groupId)
public RestConnect withArtifactId(String artifactId)
public RestConnect withVersion(String version)
Copyright © 2022. All rights reserved.