The format is generated based on the media type of the successful response. If the type of the successful response is void and the error response is JSON, this results in a format issue where the error is returned as null in the response because the format is created based on the successful response type.
The format is generated based on the media type of the successful response. If the type of the successful response is void and the error response is JSON, this results in a format issue where the error is returned as null in the response because the format is created based on the successful response type.