Spring Boot自定义配置支持IDE自动提示
This commit is contained in:
@@ -24,5 +24,10 @@
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger2</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ public class SwaggerProperties {
|
||||
private String licenseUrl = "";
|
||||
/**服务条款URL**/
|
||||
private String termsOfServiceUrl = "";
|
||||
|
||||
/**联系人**/
|
||||
private Contact contact = new Contact();
|
||||
|
||||
/**swagger会解析的包路径**/
|
||||
|
||||
Reference in New Issue
Block a user