TDYSmartBear
7 years agoOccasional Contributor
Status:
New Idea
Populate Accept header from ApiOperation annotation
I'm trying to set Accept header to application/octet-stream with Swagger. I use the following code and notice in SoapUI Pro's request representation tab I have REQUEST = application/json and in response representation tab I have RESPONSE = application/octet-stream. Would it be possible to add it as Accept header?
@ApiOperation(produces = MediaType.APPLICATION_OCTET_STREAM, value = "")