mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Fix fallback operationId>summary>description>path+method
This commit is contained in:
@@ -2345,7 +2345,8 @@ module.exports = {
|
||||
if (fromWebhooks) {
|
||||
reqName = utils.insertSpacesInName(operation.operationId) ||
|
||||
operation.summary ||
|
||||
operation.description;
|
||||
operation.description ||
|
||||
`${this.cleanWebhookName(operationItem.path)} - ${operationItem.method}`;
|
||||
}
|
||||
else {
|
||||
reqName = operation.summary || utils.insertSpacesInName(operation.operationId) || reqUrl;
|
||||
|
||||
Reference in New Issue
Block a user