public class RestSwaggerReader extends Object
Constructor and Description |
---|
RestSwaggerReader() |
Modifier and Type | Method and Description |
---|---|
io.swagger.models.Swagger |
read(List<RestDefinition> rests,
String route,
io.swagger.jaxrs.config.BeanConfig config,
String camelContextId,
ClassResolver classResolver)
Read the REST-DSL definition's and parse that as a Swagger model representation
|
public io.swagger.models.Swagger read(List<RestDefinition> rests, String route, io.swagger.jaxrs.config.BeanConfig config, String camelContextId, ClassResolver classResolver)
rests
- the rest-dslroute
- optional route path to filter the rest-dsl to only include from the chose routeconfig
- the swagger configurationclassResolver
- class resolver to useCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.