mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Update schemaUtils.js
added clean web hook name
This commit is contained in:
@@ -4642,7 +4642,7 @@ module.exports = {
|
||||
if (schemaPathObj.kind === 'webhooks') {
|
||||
rootCollectionVariables = this.convertToPmCollectionVariables(
|
||||
schema.baseUrlVariables,
|
||||
schemaPath.startsWith('/') ? schemaPath.slice(1) : schemaPath,
|
||||
schemaPath.startsWith('/') ? this.cleanWebhookName(schemaPath.slice(1)) : this.cleanWebhookName(schemaPath),
|
||||
schema.baseUrl
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user