getOrderDetails
@Get(value = "{id}")
Handles GET orders/{id}.
Translates the application-layer result into an HTTP response:
200 OKwith the order DTO if the order is found404 Not Foundif the order does not exist
Return
An HTTP response containing the order DTO or a not-found status.
Parameters
id
The order identifier received from the path.