api信息编写
private ApiInfo apiInfo() {return new ApiInfo("Spring Boot 项目集成 Swagger 实例文档","我的博客网站:https://itweknow.cn,欢迎大家访问。","API V1.0","Terms of service",new Contact("名字想好没", "https://itweknow.cn", "gancy.programmer@gmail.com"),"Apache", "http://www.apache.org/", Collections.emptyList());}
api设置 ```java @Bean public Docket api() { return new Docket(DocumentationType.SWAGGER_2) .groupName(“公共管理”) .select() .apis(RequestHandlerSelectors.any()) .paths(PathSelectors.any()) .build() .apiInfo(apiInfo()); }
```
