Forum Discussion

neerajmahajan82's avatar
neerajmahajan82
New Member
4 years ago

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?

No RepliesBe the first to reply