public class MainGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MODEL |
static String |
MODEL_TS |
static String |
OPTIONAL_SUFFIX |
static String |
TS |
Constructor and Description |
---|
MainGenerator(File openApiJsonFile,
File outputDirectory)
Initializes the generator.
|
MainGenerator(File openApiJsonFile,
File outputDirectory,
Properties properties)
Initializes the generator.
|
MainGenerator(File openApiJsonFile,
File outputDirectory,
Properties properties,
String defaultClientPath)
Initializes the generator.
|
MainGenerator(File openApiJsonFile,
File outputDirectory,
String defaultClientPath)
Initializes the generator.
|
public static final String MODEL
public static final String OPTIONAL_SUFFIX
public static final String TS
public static final String MODEL_TS
public MainGenerator(File openApiJsonFile, File outputDirectory)
openApiJsonFile
- the api spec file to analyzeoutputDirectory
- the directory to generate the files intopublic MainGenerator(File openApiJsonFile, File outputDirectory, Properties properties)
openApiJsonFile
- the api spec file to analyzeoutputDirectory
- the directory to generate the files intoproperties
- the properties with the data required for the Client API file
generationpublic MainGenerator(File openApiJsonFile, File outputDirectory, String defaultClientPath)
openApiJsonFile
- the api spec file to analyzeoutputDirectory
- the directory to generate the files intodefaultClientPath
- the path of the default Client API file which is imported in
the generated files.public MainGenerator(File openApiJsonFile, File outputDirectory, Properties properties, String defaultClientPath)
openApiJsonFile
- the api spec file to analyzeoutputDirectory
- the directory to generate the files intoproperties
- the properties with the data required for the Client API file
generationdefaultClientPath
- the path of the default Client API file which is imported in
the generated files.Copyright © 2024. All rights reserved.