public class AMFModelGenerator extends ModelGenerator
specFormat| Constructor and Description |
|---|
AMFModelGenerator(SpecFormat specFormat) |
| Modifier and Type | Method and Description |
|---|---|
RestConnectModelBuilder |
generateAPIModel(File raml,
String rootDir) |
static amf.client.model.domain.WebApi |
getWebApi(amf.client.model.document.Document document) |
amf.client.model.domain.WebApi |
getWebApi(amf.client.parse.Parser parser,
Path path) |
static amf.client.model.document.Document |
parseFile(amf.client.parse.Parser parser,
String url) |
generateAPIModel, getpublic AMFModelGenerator(SpecFormat specFormat)
public RestConnectModelBuilder generateAPIModel(File raml, String rootDir) throws GenerationException, ExecutionException, InterruptedException
generateAPIModel in class ModelGeneratorGenerationExceptionExecutionExceptionInterruptedExceptionpublic amf.client.model.domain.WebApi getWebApi(amf.client.parse.Parser parser,
Path path)
public static amf.client.model.domain.WebApi getWebApi(amf.client.model.document.Document document)
public static amf.client.model.document.Document parseFile(amf.client.parse.Parser parser,
String url)
Copyright © 2019. All rights reserved.