public class RestSwaggerReader extends Object
| Constructor and Description |
|---|
RestSwaggerReader() |
| Modifier and Type | Method and Description |
|---|---|
io.swagger.models.Swagger |
read(List<org.apache.camel.model.rest.RestDefinition> rests,
io.swagger.jaxrs.config.BeanConfig config,
String camelContextId,
org.apache.camel.spi.ClassResolver classResolver)
Read the REST-DSL definition's and parse that as a Swagger model representation
|
public io.swagger.models.Swagger read(List<org.apache.camel.model.rest.RestDefinition> rests, io.swagger.jaxrs.config.BeanConfig config, String camelContextId, org.apache.camel.spi.ClassResolver classResolver) throws ClassNotFoundException
rests - the rest-dslconfig - the swagger configurationclassResolver - class resolver to useClassNotFoundExceptionApache Camel