The main change is in src/main/java/org/example/videoclips/api/ApiExceptionHandler.java:1. It now consistently returns problem details for: - validation errors - malformed JSON - unsupported request content type - method not allowed - quota/conflict/not-found/media-type domain exceptions - unexpected internal errors I also extended src/test/java/org/example/videoclips/api/VideoAssetControllerTest.java:1 to assert application/problem+json and cover malformed JSON, unsupported request content type, and method-not-allowed responses. |
||
|---|---|---|
| .idea | ||
| docs | ||
| src | ||
| tmp | ||
| .gitignore | ||
| pom.xml | ||