Closed babakks closed 4 months ago
This PR polished the way we map errors thrown by services (e.g., IdentitiesService) to the OpenAPI spec response type.
IdentitiesService
This PR also:
delegateErrorResponseMapper
mapServiceErrorResponse
skip
handler
Content-Type: application/json
Service
Fixes CSS-7635
This PR polished the way we map errors thrown by services (e.g.,
IdentitiesService
) to the OpenAPI spec response type.This PR also:
delegateErrorResponseMapper
type and applies the same approach within themapServiceErrorResponse
function.skip
variable from table tests.handler
struct instantiation by providing it with all services.Content-Type: application/json
header to responses.Service
suffix.Fixes CSS-7635