public class RamlParserModelGenerator extends ModelGenerator
orgId, proxyReferer, proxyUri, safeFileLoader, specFormat, token| Constructor and Description |
|---|
RamlParserModelGenerator(SpecFormat specFormat) |
| Modifier and Type | Method and Description |
|---|---|
RestConnectModelBuilder |
generateAPIModel(File raml,
String rootDir) |
static org.raml.v2.api.model.v10.api.Api |
getAPIFromRamlFile(File raml,
String rootDir) |
protected static org.raml.v2.api.loader.CompositeResourceLoader |
getResourceLoader(String rootDir,
String proxyUri,
String proxyReferer,
String token,
String orgId,
boolean safeFileLoader) |
generateAPIModel, get, withSafeFileLoader, withSafeProxypublic RamlParserModelGenerator(SpecFormat specFormat)
public RestConnectModelBuilder generateAPIModel(File raml, String rootDir) throws Exception
generateAPIModel in class ModelGeneratorExceptionpublic static org.raml.v2.api.model.v10.api.Api getAPIFromRamlFile(File raml, String rootDir) throws IOException
IOExceptionCopyright © 2024. All rights reserved.