diff --git a/src/execute/index.js b/src/execute/index.js index b97d8a91e..9610fc118 100755 --- a/src/execute/index.js +++ b/src/execute/index.js @@ -390,7 +390,7 @@ function buildOas3UrlWithContext(ourUrl = '', contextUrl = '') { function getVariableTemplateNames(str) { const results = []; - const re = /{([^}]+)}/g; + const re = /{([^}]{1,29})}/g; let text; // eslint-disable-next-line no-cond-assign