diff --git a/README.assets/configuration-option.png b/README.assets/configuration-option.png
new file mode 100644
index 0000000..2d1f25f
Binary files /dev/null and b/README.assets/configuration-option.png differ
diff --git a/README.md b/README.md
index 877e6a6..5c40ef7 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ springboot + spring-context + springfox-swagger2
io.github.vamViolet
swagger-starter
- 1.0.2-RELEASE
+ 1.0.3-RELEASE
```
@@ -44,4 +44,5 @@ springboot + spring-context + springfox-swagger2
![引入方式](README.assets/annotation.png)
![application](README.assets/application.png)
-![swagger-ui](README.assets/swagger-ui.png)
\ No newline at end of file
+![swagger-ui](README.assets/swagger-ui.png)
+![配置提示](README.assets/configuration-option.png)
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index db13de3..fea4813 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
io.github.vamViolet
swagger-starter
- 1.0.2-RELEASE
+ 1.0.3-SNAPSHOT
jar
swagger-starter
Integrate swagger-ui by annotation
@@ -64,6 +64,12 @@
spring-beans
5.2.22.RELEASE
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
diff --git a/src/main/java/com/dongxq/config/SwaggerProperties.java b/src/main/java/com/dongxq/config/SwaggerProperties.java
index ccc9b21..a9c1aa7 100644
--- a/src/main/java/com/dongxq/config/SwaggerProperties.java
+++ b/src/main/java/com/dongxq/config/SwaggerProperties.java
@@ -16,7 +16,7 @@
@ConfigurationProperties("swagger")
public class SwaggerProperties {
/**
- * 是否开启swagger
+ * 是否开启swagger,默认为true,生产环境需要关闭
*/
private Boolean enabled = Boolean.TRUE;