cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling consumes at resource level

neerajmahajan82
New Member

Disabling consumes at resource level

I have an API where my POST resource doesn't need to to send any request payload, however because the 'consumes' field to set to ''application/json" at global level it's picking that value and set the Content-type header to application/json. How I can specify in the API spec that this specific  POST resource doesn't consumes anything?

New Here?
Join us and watch the welcome video:
Announcements