File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
66This 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 .
6868Provide `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 `.
7171Provide `CorrelationSource ` to enable correlations for error responses.
7272
7373[json- data]: https: // github.com/hrytsenko/json-data
You can’t perform that action at this time.
0 commit comments