@startuml
title Before: Axum Response Conversion With Fallback Unwrap
skinparam backgroundColor #FFFFFF
skinparam defaultFontColor #000000
skinparam ArrowColor #111827
skinparam componentStyle rectangle
skinparam defaultFontName Consolas

component "convert_auth_response(AuthResponse)" as convert #FFECEC
component "Response::builder().status(...)" as builder #FFF7ED
component "response.body(Body::from(...))" as build_body #EEF2FF
component "fallback 500 builder path" as fallback #FEE2E2
component "unwrap()" as unwrap #FECACA
component "Axum Response" as response #E8F5E9

convert --> builder
builder --> build_body
build_body --> response : success
build_body --> fallback : builder error
fallback --> unwrap
unwrap --> response

note right of unwrap #FEE2E2
Fallback used unwrap during
response construction.
end note
@enduml
