json-schema-faker: Reference (still) not found
Going back to #25. I can see, that deref@0.3.0
solves this issue. The problem is that deref@0.3.0
isn’t included in json-schema-faker
. Can we publish version 0.1.7
where, according to develop
branch, the issue is solved? I think it’s a minor fix and there’s no need to wait for a bigger release. It’s a bug afterall 😉
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 25 (17 by maintainers)
Commits related to this issue
- deref@0.6.0 to solve #28 - see https://gist.github.com/pateketrueke/152cf7ab2ad61543cd27#file-test-js (?) — committed to json-schema-faker/json-schema-faker by pateketrueke 9 years ago
- Avoid too much recursion issues; try to fix #28 — committed to json-schema-faker/json-schema-faker by pateketrueke 9 years ago
- Change merge/reduce/traverse strategy using custom impl; fixes #28 #80 — committed to json-schema-faker/json-schema-faker by pateketrueke 9 years ago
Yeah I think that’s one of the things OpenAPI changed in the v3 release – e.g. it’s now
#/components/schemas
rather than#/definitions
although maybe#/definitions
is what JSON Schema defines.Phew, yeah after a few hours of playing around with things I finally have things working somewhat. It seems I had some other issues caused by the
$ref
transformation I’m doing but I think that would all be resolved by theresolveReferences
option I mentioned in #290. Thanks again for your patience and assistance… I’ll keep digging into it and look into those examples you provided.