fix(raw-input): allow list parameter for any content type ending with 'json'

This commit is contained in:
Leonardo Matos
2020-03-21 23:37:55 -03:00
parent 76786f7a01
commit 3f9ae7fecc

View File

@@ -1552,7 +1552,10 @@ export default {
* serialized by postwoman.
*/
canListParameters() {
return ["application/json", "application/x-www-form-urlencoded"].includes(this.contentType)
return (
this.contentType === "application/x-www-form-urlencoded" ||
this.contentType.endsWith("json")
)
},
uri: {
get() {