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
{{ message }}
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
Used a more complicated RAML contract and it is crashing with the following:
s.1.raml -o api-client -l javascript
part:/{keyType}{key}
spec:[object Object]
key:undefined
TypeError: Cannot read property 'relativeUri' of undefined
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:113:58)
at attachResource (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:158:3)
at /home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:149:9
at Array.forEach (native)
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:148:26)
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:140:14)
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:140:14)
at attachResource (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:158:3)
at /home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:187:12
at Array.forEach (native)
The text was updated successfully, but these errors were encountered:
@brivierehttps://github.com/briviere I'll take a look into it, can you
give me the version you're using and maybe a sample RAML file that
replicates the issue?
—
Reply to this email directly or view it on GitHub #21 (comment)
.
Used a more complicated RAML contract and it is crashing with the following:
s.1.raml -o api-client -l javascript
part:/{keyType}{key}
spec:[object Object]
key:undefined
TypeError: Cannot read property 'relativeUri' of undefined
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:113:58)
at attachResource (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:158:3)
at /home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:149:9
at Array.forEach (native)
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:148:26)
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:140:14)
at recurse (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:140:14)
at attachResource (/home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:158:3)
at /home/briviere/.npm-packages/lib/node_modules/raml-client-generator/node_modules/raml-generator/lib/context/resources.js:187:12
at Array.forEach (native)
The text was updated successfully, but these errors were encountered: