In the api method you can only add the response body, but you cannot write anything about the response headers, we would like to set a title or a label above each one of them, so reader can differentiate between the headers and body of a response or a request.