parser-js
json-schema-ref-parser
parser-js | json-schema-ref-parser | |
---|---|---|
2 | 3 | |
135 | 1,042 | |
0.7% | 0.1% | |
5.6 | 8.3 | |
8 days ago | 15 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
parser-js
-
What is AsyncAPI?
AsyncAPI Parser
-
How to contribute to OSS AsyncAPI Initiative 🌈
Continue improvements and add new features to core tools such as our spec parser/validator and code generator.
json-schema-ref-parser
-
Show HN: Parse, Resolve, and Dereference OpenAPI Schema $Ref Pointers for LLM's
The standard way of dealing with OpenAPI specs in JS is json-schema-ref-parser[1], but it's no longer being actively maintained (strongly recommend reading Phil Sturgeon's post on that[2]). Therefore, we made this little package showing an alternative way of parsing an OpenAPI spec in JS.
OpenAPI specs are somewhat more valuable now with LLMs, so this hopefully useful to some folks out there struggling with json-schema-ref-parser.
[1]: https://github.com/APIDevTools/json-schema-ref-parser
[2]: https://philsturgeon.com/bundling-openapi-with-javascript/
- Library with 2M weekly downloads needs maintainer
-
Unlocking API Interoperability: Converting OpenAPI to TypeScript JSON Schema
Resolve external/remote $refs and dereference them with @apidevtools/json-schema-ref-parser (resolving $ref's)
What are some alternatives?
glee - Glee — The AsyncAPI framework that will make you smile again :)
openapi-ts-json-schema - OpenAPI ➡️ TypeScript JSON Schema generator.
multipart-object - library to convert a classic object to a nested object for http 'multipart/formdata'
jsonschema - A node package based on jsonschema-rs for performing JSON schema validation
generator - Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!
swagger-parser - Swagger 2.0 and OpenAPI 3.0 parser/validator