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

Status of json-schema-reader #1

Open
jgornick opened this issue Apr 12, 2021 · 2 comments
Open

Status of json-schema-reader #1

jgornick opened this issue Apr 12, 2021 · 2 comments

Comments

@jgornick
Copy link

Hi! Was going down the path of figuring out the best way to parse JSON schemas (written in YAML) with references. We started with js-yaml, then looked at the swagger-parser to see what was going on there. We found that it was using the json-schema-ref-parser, then ran across this project.

Is the intent here to be a "replacement" for json-schema-ref-parser?

Thanks!

@philsturgeon
Copy link
Member

This will at some point be the replacement, but work stalled due to life getting in the way of the main maintainer. The goal of this one is to be a lot more in line with JSON Schema, handling $ref siblings and $id properly, etc.

Stoplight is helping to maintain https://github.com/APIDevTools/json-schema-ref-parser and when we start working on $id support and other things this package set out to solve, we'll likely pick it back up to avoid reinventing the wheel.

So for now, use json-schema-ref-parser, and this will replace it some time. Or you can give this a go and see how far you get,as this is Free Open Source, and PRs are always welcome. :D

@philsturgeon
Copy link
Member

philsturgeon commented Feb 28, 2024

That didn't happen. Stoplight are using their own thing, and APIDevTools/json-schema-ref-parser is tundling along with a new maintainer but not seeing active development.

There's no one single package I know of that I'd confidently point to as replacing either this one or that one, so... best of luck with your endevours and keep an eye on openapi.tools for a new one.

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