Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Is anyone having this issue? #21

Open
briviere opened this issue Oct 3, 2015 · 2 comments
Open

Is anyone having this issue? #21

briviere opened this issue Oct 3, 2015 · 2 comments

Comments

@briviere
Copy link

briviere commented Oct 3, 2015

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)

@blakeembrey
Copy link
Contributor

@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?

@blakeembrey blakeembrey self-assigned this Oct 3, 2015
@briviere
Copy link
Author

briviere commented Oct 3, 2015

Version 0.1.1

Sure I can work on providing the raml and related JSON Schema.

Brian

On Sat, Oct 3, 2015 at 2:51 PM, Blake Embrey notifications@github.com
wrote:

@briviere https://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)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants