Package org.apache.camel.swagger
Class RestSwaggerSupport
- java.lang.Object
-
- org.apache.camel.swagger.RestSwaggerSupport
-
@Deprecated public class RestSwaggerSupport extends Object
Deprecated.A support class for that allows SPI to plugin and offer Swagger API service listings as part of the Camel component. This allows rest-dsl components such as servlet/jetty/netty-http to offer Swagger API listings with minimal effort.
-
-
Constructor Summary
Constructors Constructor Description RestSwaggerSupport()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<org.apache.camel.model.rest.RestDefinition>
getRestDefinitions(org.apache.camel.CamelContext camelContext)
Deprecated.void
initSwagger(io.swagger.jaxrs.config.BeanConfig swaggerConfig, Map<String,Object> config)
Deprecated.void
renderResourceListing(org.apache.camel.CamelContext camelContext, RestApiResponseAdapter response, io.swagger.jaxrs.config.BeanConfig swaggerConfig, boolean json, boolean yaml, Map<String,Object> headers, org.apache.camel.spi.ClassResolver classResolver, org.apache.camel.spi.RestConfiguration configuration)
Deprecated.
-
-
-
Method Detail
-
initSwagger
public void initSwagger(io.swagger.jaxrs.config.BeanConfig swaggerConfig, Map<String,Object> config)
Deprecated.
-
getRestDefinitions
public List<org.apache.camel.model.rest.RestDefinition> getRestDefinitions(org.apache.camel.CamelContext camelContext) throws Exception
Deprecated.- Throws:
Exception
-
renderResourceListing
public void renderResourceListing(org.apache.camel.CamelContext camelContext, RestApiResponseAdapter response, io.swagger.jaxrs.config.BeanConfig swaggerConfig, boolean json, boolean yaml, Map<String,Object> headers, org.apache.camel.spi.ClassResolver classResolver, org.apache.camel.spi.RestConfiguration configuration) throws Exception
Deprecated.- Throws:
Exception
-
-