Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Structures #1

Closed
ruifcardoso opened this issue Feb 15, 2017 · 1 comment
Closed

Data Structures #1

ruifcardoso opened this issue Feb 15, 2017 · 1 comment

Comments

@ruifcardoso
Copy link

ruifcardoso commented Feb 15, 2017

Hi,

This library is exactly what I'm looking for, but unfortunately it isn't working very well with data structures.

If I use, for example, the Data Structures example from apiblueprint, it doesn't work. Ignoring the missing HOST problem, which is easily fixed by adding HOST: in after FORMAT:, it fails to load the datastructure because the element has no content. Here is the output I found adding a console.log(result) at parse.js:23:

Result object parsing: { element: 'dataStructure', content: [ { element: 'Coupon' } ] }

Because the meta is empty, it fails and crashes.

Thanks

@swathysubhash
Copy link
Owner

Fixed

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

No branches or pull requests

2 participants