in src/openApiService/request/request.ts [7:31]
function _bodyType(types) {
if (!types || types.length < 1) {
return "none";
}
const type = types[0];
if (type === "application/json") {
return "json";
}
if (type === "application/xml") {
return "xml";
}
if (type === "application/x-www-form-urlencoded") {
return "form";
}
if (type === "application/octet-stream") {
return "binary";
}
return "none";
}