I am trying to restrict the amount of media types I generate when using RAML tools for .NET
When generating metadata output I get all available media types in my RAML:
#%RAML 1.0 title: Api baseUri: / /api/Scan/Send: post: description: " (Scan.Send)" headers: body: application/json: text/json: application/xml: text/xml: application/x-www-form-urlencoded:
This won’t work in a HTTP Endpoint in Anypoint Studio. I get:
There are multiple input types: [application/xml, application/json, text/json, text/xml, application/x-www-form-urlencoded] . Datasense will not work for this config.
Does anyone have any experience of restricting these types?
I need application/x-www-form-urlencoded only.