Class Swagger2ControllerWebMvc


  • @RestController
    @ConditionalOnWebApplication(type=SERVLET)
    @RequestMapping("${springfox.documentation.swagger.v2.path:/v2/api-docs}")
    public class Swagger2ControllerWebMvc
    extends java.lang.Object
    • Field Detail

      • SWAGGER2_SPECIFICATION_PATH

        public static final java.lang.String SWAGGER2_SPECIFICATION_PATH
        See Also:
        Constant Field Values
    • Method Detail

      • getDocumentation

        @RequestMapping(method=GET,
                        produces={"application/json","application/hal+json"})
        public org.springframework.http.ResponseEntity<Json> getDocumentation​(@RequestParam(value="group",required=false)
                                                                              java.lang.String swaggerGroup,
                                                                              javax.servlet.http.HttpServletRequest servletRequest)