@Path(value="api-docs") public class SwaggerUiService extends Object
Constructor and Description |
---|
SwaggerUiService(SwaggerUiResourceLocator locator,
Map<String,String> mediaTypes) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getResource(javax.ws.rs.core.UriInfo uriInfo,
String resourcePath) |
void |
setConfig(SwaggerUiConfig config) |
public SwaggerUiService(SwaggerUiResourceLocator locator, Map<String,String> mediaTypes)
public void setConfig(SwaggerUiConfig config)
@GET @Path(value="{resource:.*}") public javax.ws.rs.core.Response getResource(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="resource") String resourcePath)
Apache CXF