mulesoft-labs / api-console-builder

A module to build a minified and concatenated file for the API console
Other
3 stars 7 forks source link

Required `json` property not found #10

Closed isacaraujo closed 6 years ago

isacaraujo commented 6 years ago

This BUG was fetched from this other: mulesoft-labs/api-console-cli #18.

This package was broken after an update of raml2html/raml2obj.

We need to fix this package before fix the api-console-cli.

torsjonas commented 6 years ago

I can add that the mocha tests all succeed when I run them locally but seeing lots of logs: TypeError: datatype_expansion.canonical_form.Exception is not a constructor which points to an issue with the raml2obj module.

Bumping to "raml-json-enhance-node": "^0.3.0" removes those TypeError logs.

jarrodek commented 6 years ago

Fixed by https://github.com/mulesoft-labs/api-console-builder/commit/977e23ee6c960eb15bac7b5b633091c0bbfc0865