public abstract class ModelGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
proxyReferer |
protected String |
proxyUri |
protected boolean |
safeFileLoader |
protected SpecFormat |
specFormat |
| Constructor and Description |
|---|
ModelGenerator(SpecFormat specFormat) |
| Modifier and Type | Method and Description |
|---|---|
RestConnectModelBuilder |
generateAPIModel(File raml) |
abstract RestConnectModelBuilder |
generateAPIModel(File raml,
String rootDir) |
static ModelGenerator |
get(SpecFormat format,
Parser parser) |
void |
withSafeFileLoader(boolean useSafeFileLoader) |
void |
withSafeProxy(String proxyUri,
String proxyReferer) |
protected final SpecFormat specFormat
protected String proxyUri
protected String proxyReferer
protected boolean safeFileLoader
public ModelGenerator(SpecFormat specFormat)
public abstract RestConnectModelBuilder generateAPIModel(File raml, String rootDir) throws Exception
Exceptionpublic RestConnectModelBuilder generateAPIModel(File raml) throws Exception
Exceptionpublic void withSafeFileLoader(boolean useSafeFileLoader)
public static ModelGenerator get(SpecFormat format, Parser parser)
Copyright © 2022. All rights reserved.