json-schema-ref-parser
json-schema-ref-parser copied to clipboard
Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers
Repro here: https://github.com/mickdekkers/json-schema-ref-parser-extra-ref-props-issue ## Issue description `json-schema-ref-parser`'s `.bundle()` method seems to have trouble with additional properties on `$ref` objects in certain cases where recursive schemas are used. For example with...
Hello, Thanks for your work on this. The [signatures with base URL](https://github.com/APIDevTools/json-schema-ref-parser/issues/13#issuecomment-214337417) are undocumented at https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html and https://apitools.dev/swagger-parser/docs/. I also don't understand why a separate signature was added rather than...
Forgive me if this is the [same](https://github.com/APIDevTools/json-schema-ref-parser/issues/241) as [all](https://github.com/APIDevTools/json-schema-ref-parser/issues/145) these [issues](https://github.com/APIDevTools/json-schema-ref-parser/issues/97), but I am new to JSON schemas and the tooling around it so would like clarification if I am...
Assume I have this JSON schema: ``` channels: 'smartylighting/streetlights/1/0/event/{streetlightId}/lighting/measured': description: The topic on which measured values may be produced and consumed. parameters: streetlightId: description: The ID of the streetlight. schema:...
I upgraded from webpack4 to 5. So now webpack 5 throws error when there are circular dependencies. Like -  And there 's a circular dependency in json-schema-ref-parser - ERROR...
Here is my basic schema: ``` json { "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "schema": { "$ref": "http://json-schema.org/draft-04/schema", "title": "schema" }, "tags": { "items": { "enum": [ "forge" ], "type":...
**When the schema id is defined with an URL should use that hostname to request the references, instead of using the current page URL** EXAMPLE: ```json { "$schema": "http://json-schema.org/draft-07/schema#", "$id":...
Example Current infos: https://apitools.dev/swagger-parser/online/ ``` openapi: 3.0.2 info: description: >- This is a sample server Petstore server. version: 1.0.0 title: Swagger Petstore termsOfService: 'http://swagger.io/terms/' contact: email: [email protected] license: name: Apache...
Right now the library is “loosing” the original value information from the `$ref` entry in case of we are resolving relative file paths. However, it can be a useful information...
Unfortunately #75 wasn't enough to get everything back to how it worked in 3.x 😢 With this change the tests for apiaryio/fury-adapter-swagger#158 finally pass. I don't know this library well...