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

Header Generation fails in XDM for aggregated-asset #66

Closed
trieloff opened this issue May 7, 2018 · 1 comment
Closed

Header Generation fails in XDM for aggregated-asset #66

trieloff opened this issue May 7, 2018 · 1 comment
Labels

Comments

@trieloff
Copy link
Collaborator

trieloff commented May 7, 2018

https://circleci.com/gh/adobe/xdm/2305

XDM is using version 1.0.5 and failing:

> shx mkdir -p docs/reference && jsonschema2md -o docs/reference -d schemas --link-abstract abstract.md --link-extensible extensions.md --link-status status.md --link-id --link-custom extensions.md --link-additional extensions.md

info: output directory: /home/circleci/repo/docs/reference
info: finished reading all *.schema.json files in /home/circleci/repo/schemas, beginning processing….
/home/circleci/repo/schemas/assets/aggregated-asset.schema.json
error:  TypeError: Path must be a string. Received true
    at assertPath (path.js:7:11)
    at Object.relative (path.js:1227:5)
    at link (/home/circleci/repo/node_modules/@adobe/jsonschema2md/lib/header.js:80:17)
    at headers (/home/circleci/repo/node_modules/@adobe/jsonschema2md/lib/header.js:105:50)
    at generateMarkdown (/home/circleci/repo/node_modules/@adobe/jsonschema2md/lib/markdownWriter.js:154:14)
    at Schema.getExamples.then.then.then.object (/home/circleci/repo/node_modules/@adobe/jsonschema2md/lib/schema.js:424:11)
@trieloff trieloff added the bug label May 7, 2018
@trieloff
Copy link
Collaborator Author

trieloff commented May 7, 2018

Closing: user error https://circleci.com/gh/adobe/xdm/2312

@trieloff trieloff closed this as completed May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant