json-schema-ref-parser icon indicating copy to clipboard operation
json-schema-ref-parser copied to clipboard

Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers

Results 105 json-schema-ref-parser issues
Sort by recently updated
recently updated
newest added

Fixes a bunch of unnecessary complexity in recursion and two issues that should be resolved. No idea why the browser tests are failing, I thought it was bad coveralls configuration,...

This callback is needed for https://github.com/bcherny/json-schema-to-typescript/pull/453, in order to more intelligently emit TypeScript types from JSON Schemas. Specifically, this change lets us use referenced names for type names, which results...

I am having trouble with **MissingPointerError** issues. What I am doing is pasring java swagger docs generated from io.swaggerfox.sprinffox-swagger2. It gives json docs from http://localhost:8080/v2/docs. if reference contains `space` at...

The browser compatibility claimed by this package is only due to bundlers’ polyfills, which are increasingly missing: - https://github.com/APIDevTools/json-schema-ref-parser/issues/257 - https://github.com/APIDevTools/json-schema-ref-parser/issues/254 - https://github.com/JS-DevTools/ono/issues/17 - https://github.com/APIDevTools/json-schema-ref-parser/issues/137 - https://github.com/APIDevTools/json-schema-ref-parser/issues/267 - https://github.com/APIDevTools/json-schema-ref-parser/blob/5d7f89527ea773cdd37583a3c7ab91ee3b1db5a9/lib/util/url.js#L25-L26 -...

Also adds merging reference objects instead of replacing them Things left to do: - [x] Fix whatever makes that one test failing - [ ] Add tests

Feeding this immediately circular API definition into the library will cause a "Maximum call stack size exceeded" exception within `ref.js`: ```yaml openapi: 3.0.0 info: version: 0.0.1 title: Circular mishandling servers:...

This change resolves bug #226 and the PRs #146 and #223. The if/then flow in the crawl functions of bundle and particularly dereference were such that if a match was...

util is node built-in lib, but not in browser. And vite has no polyfill of node `util`. ``` > ../../node_modules/.pnpm/@[email protected]/node_modules/@jsdevtools/ono/esm/types.js:1:9: error: No matching export in "browser-external:util" for import "inspect" 1...