Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Need tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uppal101 committed Nov 2, 2017
1 parent ea023d0 commit 95537f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/api-explorer-ui/src/lib/oas-to-har.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ module.exports = (
const har = {
headers: [],
queryString: [],
postData: {},
postData: {
mimeType: getContentType();
},
method: pathOperation.method.toUpperCase(),
url: `${oas.servers ? oas.servers[0].url : ''}${pathOperation.path}`.replace(/\s/g, '%20'),
};
Expand Down

0 comments on commit 95537f0

Please sign in to comment.