添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Swagger2Controller (org.springframework.core.env.Environment environment, DocumentationCache documentationCache, ServiceModelToSwagger2Mapper mapper, JsonSerializer jsonSerializer) org.springframework.http.ResponseEntity< Json > getDocumentation (java.lang.String swaggerGroup, javax.servlet.http.HttpServletRequest servletRequest)

Swagger2Controller

@Autowired
public Swagger2Controller(org.springframework.core.env.Environment environment,
                            DocumentationCache documentationCache,
                            ServiceModelToSwagger2Mapper mapper,
                            JsonSerializer jsonSerializer)
@RequestMapping(value="/v2/api-docs",
                method=GET,
                produces={"application/json","application/hal+json"})
@PropertySourcedMapping(value="${springfox.documentation.swagger.v2.path}",
                        propertyKey="springfox.documentation.swagger.v2.path")
@ResponseBody
public org.springframework.http.ResponseEntity<Json> getDocumentation(@RequestParam(value="group",required=false)
                                                                                                                                java.lang.String swaggerGroup,
                                                                                                                                javax.servlet.http.HttpServletRequest servletRequest)