mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
updated working options
This commit is contained in:
@@ -785,6 +785,9 @@ module.exports = {
|
||||
pathVarArray = this.convertPathVariables('root', [], pathVariables);
|
||||
reqName = this.options.requestName === 'url' ? (displayUrl || baseUrl) :
|
||||
operationItem.properties[this.options.requestName];
|
||||
if (!reqName) {
|
||||
throw new Error(`requestName (${this.options.requestName}) in options is invalid`);
|
||||
}
|
||||
|
||||
// handling authentication here (for http type only)
|
||||
authHelper = this.getAuthHelper(openapi, operationItem.properties.security);
|
||||
|
||||
Reference in New Issue
Block a user