Commit 1acccd6
committed
fix: return null instead of error message on deserialization failure
When deserializeErrorEntity fails, return null instead of a synthetic
String message to maintain correct errorEntity semantics (null on failure).
Fixes P2 issue from cubic-dev-ai review.1 parent 3ec7cc4 commit 1acccd6
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- modules/openapi-generator/src/main/resources/Java/libraries/jersey3
- samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | | - | |
| 1372 | + | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | | - | |
| 1366 | + | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
| |||
0 commit comments