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 1
1
[ ![ 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 )
2
2
[ ![ ] ( https://jitpack.io/v/hrytsenko/json-data-spring-boot.svg )] ( https://jitpack.io/#hrytsenko/json-data-spring-boot )
3
3
4
- # JSON data for Spring Boot
4
+ # JSON Data for Spring Boot
5
5
6
6
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] .
8
8
9
9
``` java
10
10
@EnableFeignClients
@@ -63,11 +63,11 @@ class Application {
63
63
}
64
64
```
65
65
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 .
68
68
Provide `ValidatorSource ` to configure a resource manager for validators.
69
69
70
- Use `WrapErrors ` to wrap all unhandled exceptions into `ServiceException . InternalError `.
70
+ Use `WrapErrors ` to wrap all unhandled exceptions into `ServiceException `.
71
71
Provide `CorrelationSource ` to enable correlations for error responses.
72
72
73
73
[json- data]: https: // github.com/hrytsenko/json-data
You can’t perform that action at this time.
0 commit comments