Responses other than content-type application/json are also stringified
mdasberg opened this issue ยท comments
When using a response other than application/json the result is stringified.
{
"expression": "/api/text",
"method": "GET",
"name": "webUrl",
"responses": {
"defaultData": {
"default": true,
"status": 200,
"headers": {
"content-type": "text/plain; charset=utf-8"
},
"data": "https://github.com/"
}
}
}
will result in "https://github.com/"
๐ This issue has been resolved in version 1.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐