Skip to content

Commit 50f1b51

Browse files
committed
Update description.
1 parent 22e8952 commit 50f1b51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=hrytsenko_json-data-spring-boot&metric=alert_status)](https://sonarcloud.io/dashboard?id=hrytsenko_json-data-spring-boot)
22
[![](https://jitpack.io/v/hrytsenko/json-data-spring-boot.svg)](https://jitpack.io/#hrytsenko/json-data-spring-boot)
33

4-
# JSON data for Spring Boot
4+
# JSON Data for Spring Boot
55

66
This library enables [json-data] for [Spring Boot] including serialization, validation and error handling.
7-
The following example illustrates integration with [Spring Boot], [Spring Feign] and [Spring Sleuth]:
7+
The following example illustrates integration with [Spring Boot], [Spring Feign] and [Spring Sleuth].
88

99
```java
1010
@EnableFeignClients
@@ -63,11 +63,11 @@ class Application {
6363
}
6464
```
6565

66-
Use `ValidateRequest` to validate an input JSON entity (the first argument).
67-
Use `ValidateResponse` to validate an output JSON entity (the return value).
66+
Use `ValidateRequest` to validate inbound JSON entities.
67+
Use `ValidateResponse` to validate outbound JSON entities.
6868
Provide `ValidatorSource` to configure a resource manager for validators.
6969

70-
Use `WrapErrors` to wrap all unhandled exceptions into `ServiceException.InternalError`.
70+
Use `WrapErrors` to wrap all unhandled exceptions into `ServiceException`.
7171
Provide `CorrelationSource` to enable correlations for error responses.
7272

7373
[json-data]: https://github.com/hrytsenko/json-data

0 commit comments

Comments
 (0)