Class Swagger1Controller
- java.lang.Object
-
- springfox.documentation.swagger1.web.Swagger1Controller
-
@RestController @RequestMapping("${springfox.documentation.swagger.v1.path:/api-docs}") public class Swagger1Controller extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Swagger1Controller(DocumentationCache documentationCache, ServiceModelToSwaggerMapper mapper, JsonSerializer jsonSerializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Json>
getApiListing(java.lang.String swaggerGroup, java.lang.String apiDeclaration, javax.servlet.http.HttpServletRequest servletRequest)
org.springframework.http.ResponseEntity<Json>
getResourceListing(java.lang.String swaggerGroup)
-
-
-
Constructor Detail
-
Swagger1Controller
@Autowired public Swagger1Controller(DocumentationCache documentationCache, ServiceModelToSwaggerMapper mapper, JsonSerializer jsonSerializer)
-
-
Method Detail
-
getResourceListing
@RequestMapping(method=GET) public org.springframework.http.ResponseEntity<Json> getResourceListing(@RequestParam(value="group",required=false) java.lang.String swaggerGroup)
-
getApiListing
@RequestMapping(value="/{swaggerGroup}/{apiDeclaration}", method=GET) public org.springframework.http.ResponseEntity<Json> getApiListing(@PathVariable java.lang.String swaggerGroup, @PathVariable java.lang.String apiDeclaration, javax.servlet.http.HttpServletRequest servletRequest)
-
-