public class RestApiResourceScanner
extends io.swagger.jaxrs.config.AbstractScanner
implements io.swagger.jaxrs.config.JaxrsScanner, io.swagger.config.SwaggerConfig
Constructor and Description |
---|
RestApiResourceScanner() |
RestApiResourceScanner(java.util.Collection<java.lang.Class<?>> resourceClasses) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Class<?>> |
classes() |
java.util.Set<java.lang.Class<?>> |
classesFromContext(javax.ws.rs.core.Application app,
javax.servlet.ServletConfig sc) |
io.swagger.models.Swagger |
configure(io.swagger.models.Swagger swagger) |
java.lang.String |
getFilterClass() |
public RestApiResourceScanner()
public RestApiResourceScanner(java.util.Collection<java.lang.Class<?>> resourceClasses)
public java.util.Set<java.lang.Class<?>> classesFromContext(javax.ws.rs.core.Application app, javax.servlet.ServletConfig sc)
classesFromContext
in interface io.swagger.jaxrs.config.JaxrsScanner
public java.util.Set<java.lang.Class<?>> classes()
classes
in interface io.swagger.config.Scanner
public io.swagger.models.Swagger configure(io.swagger.models.Swagger swagger)
configure
in interface io.swagger.config.SwaggerConfig
public java.lang.String getFilterClass()
getFilterClass
in interface io.swagger.config.SwaggerConfig