Companion code for "Global Exception Handling with ProblemDetail (RFC 9457) in Spring Boot 4". Thirteen failures under five handling setups (Boot defaults, the Boot flag, a ResponseEntityExceptionHandler advice, advice plus an ErrorController, a catch-all ordered first), validation errors, i18n, content negotiation, Security's 401/403, silent 500s and decoding on the client. 16 tests pin the behaviour. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01C3TETMrqVUWeFkNtz3Jbo3
17 lines
502 B
Bash
17 lines
502 B
Bash
#!/usr/bin/env bash
|
|
# Regenerate every transcript under docs/output/. Takes about two minutes.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
mvn -q -DskipTests package
|
|
./scripts/demo-matrix.sh
|
|
./scripts/demo-negotiation.sh
|
|
./scripts/demo-i18n.sh
|
|
./scripts/demo-silent-500.sh
|
|
./scripts/demo-ambiguous.sh
|
|
./scripts/demo-client.sh
|
|
./scripts/demo-advice-order.sh
|
|
./scripts/demo-type-default.sh
|
|
./scripts/demo-errors-only.sh
|
|
./scripts/stop.sh
|
|
echo "Regenerated: $(ls docs/output | wc -l) files in docs/output/"
|