| | |
| | | @Configuration |
| | | public class Swagger3Config { |
| | | |
| | | @Value("${swagger-ui.enabled}") |
| | | @Value("${swagger-ui.enabled: true}") |
| | | private boolean enable; |
| | | |
| | | @Bean |
| | |
| | | private ApiInfo apiInfo() { |
| | | return new ApiInfoBuilder() |
| | | .title("WVP-PRO 接口文档") |
| | | .description("更多请咨询服务开发者(18010473990@@163.com)。") |
| | | .contact(new Contact("panlinlin", "http://www.ruiyeclub.cn", "ruiyeclub@foxmail.com")) |
| | | .description("更多请咨询服务开发者(https://github.com/648540858/wvp-GB28181-pro)。") |
| | | .contact(new Contact("648540858", "648540858", "648540858@qq.com")) |
| | | .version("2.0") |
| | | .build(); |
| | | } |