public class RestSwaggerSupport extends Object
Constructor and Description |
---|
RestSwaggerSupport() |
Modifier and Type | Method and Description |
---|---|
List<String> |
findCamelContexts() |
List<org.apache.camel.model.rest.RestDefinition> |
getRestDefinitions(String camelId) |
void |
initSwagger(io.swagger.jaxrs.config.BeanConfig swaggerConfig,
Map<String,Object> config) |
void |
renderCamelContexts(RestApiResponseAdapter response,
String contextId,
String contextIdPattern,
boolean json,
boolean yaml,
org.apache.camel.spi.RestConfiguration configuration)
Renders a list of available CamelContexts in the JVM
|
void |
renderResourceListing(RestApiResponseAdapter response,
io.swagger.jaxrs.config.BeanConfig swaggerConfig,
String contextId,
String route,
boolean json,
boolean yaml,
org.apache.camel.spi.ClassResolver classResolver,
org.apache.camel.spi.RestConfiguration configuration) |
public void initSwagger(io.swagger.jaxrs.config.BeanConfig swaggerConfig, Map<String,Object> config)
public List<org.apache.camel.model.rest.RestDefinition> getRestDefinitions(String camelId) throws Exception
Exception
public void renderResourceListing(RestApiResponseAdapter response, io.swagger.jaxrs.config.BeanConfig swaggerConfig, String contextId, String route, boolean json, boolean yaml, org.apache.camel.spi.ClassResolver classResolver, org.apache.camel.spi.RestConfiguration configuration) throws Exception
Exception
public void renderCamelContexts(RestApiResponseAdapter response, String contextId, String contextIdPattern, boolean json, boolean yaml, org.apache.camel.spi.RestConfiguration configuration) throws Exception
Exception
Apache Camel