You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot read properties of undefined (reading '$ref')
at getExampleData (/Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/schemaUtils.js:472:17)
at resolveBodyData (/Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/schemaUtils.js:1478:38)
at resolveResponseBody (/Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/schemaUtils.js:2075:19)
at /Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/schemaUtils.js:2290:28
at /Users/Sites/portman/node_modules/lodash/lodash.js:4967:15
at baseForOwn (/Users/Sites/portman/node_modules/lodash/lodash.js:3032:24)
at Function.forOwn (/Users/Sites/portman/node_modules/lodash/lodash.js:13082:24)
at resolveResponseForPostmanRequest (/Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/schemaUtils.js:2285:7)
at resolvePostmanRequest (/Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/schemaUtils.js:2399:41)
at /Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/index.js:97:49
at arrayEach (/Users/Sites/portman/node_modules/lodash/lodash.js:530:11)
at Function.forEach (/Users/Sites/portman/node_modules/lodash/lodash.js:9410:14)
at Object.convertV2 (/Users/Sites/portman/node_modules/openapi-to-postmanv2/libV2/index.js:41:7)
at /Users/Sites/portman/node_modules/openapi-to-postmanv2/lib/schemapack.js:101:12
at convertToOAS30IfSwagger (/Users/Sites/portman/node_modules/openapi-to-postmanv2/lib/swaggerUtils/swaggerToOpenapi.js:32:14)
at SchemaPack.convertV2 (/Users/Sites/portman/node_modules/openapi-to-postmanv2/lib/schemapack.js:89:14)
The text was updated successfully, but these errors were encountered:
When using an empty examples {} the
convertV2
fails.Resulting in the following error:
The text was updated successfully, but these errors were encountered: