eykrehbein / strest

⚡️ CI-ready tests for REST APIs configured in YAML
MIT License
1.74k stars 59 forks source link

More MimeTypes #129

Closed Beutlin closed 5 years ago

Beutlin commented 5 years ago

Is there any reason, why mimeType is validated againstthese two values ['application/json', 'text/plain']?

This is a limitation of the flexibility. I need also at least those types:

The attribute "text" is enough for me. I can paste the correct body payload on my own into the text attribute. Thus solutions handling formData is not necessary for me.

Please either remove the validation mimeType or add the most common types into the validation list.

bradrhodes commented 5 years ago

I have the same problem and @Beutlin 's solution would also be fine for me.