Skip to content

Commit 9e55e0c

Browse files
authored
update README (#4)
1 parent 5090dad commit 9e55e0c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,25 @@ A comprehensive common library built with **Spring Boot 3.3** and **Java 21**, d
5252

5353
- **Standardized Configuration Files**: Includes common `checkstyle.xml` and `logback.xml` files. Housing these files in the common library ensures that microservices consume them in a read-only manner, preventing unauthorized modifications and maintaining uniformity across projects.
5454

55+
56+
**Note.** By default, all these configurations are enabled. You can disable any of them in your microservice's `application.yaml` file as needed.
57+
58+
```yaml
59+
common:
60+
logging:
61+
enabled: true
62+
error-handler:
63+
enabled: true
64+
swagger:
65+
enabled: true
66+
openfeign:
67+
enabled: true
68+
interceptor:
69+
enabled: true
70+
opentelemetry:
71+
enabled: true
72+
```
73+
5574
## Usage Configuration
5675
5776
To incorporate the common library into your project, add the following dependency:

0 commit comments

Comments
 (0)