Showing results for 
Search instead for 
Did you mean: 

Populate Accept header from ApiOperation annotation

0 Kudos

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 = "")


Welcome to the ReadyAPI Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Join us and watch the welcome video: