mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Adding auth manually - sdk unreliable
This commit is contained in:
@@ -1324,7 +1324,7 @@ module.exports = {
|
||||
};
|
||||
|
||||
thisAuthObject[authMap[authMeta.currentHelper]] = authMeta.helperAttributes;
|
||||
item.authorizeRequestUsing(new sdk.RequestAuth(thisAuthObject));
|
||||
item.request.auth = new sdk.RequestAuth(thisAuthObject);
|
||||
}
|
||||
// TODO: Figure out what happens if type!=api-key
|
||||
else if (authHelper && authHelper.type === 'api-key') {
|
||||
|
||||
Reference in New Issue
Block a user