cvent / json-schema-deref-sync

Synchronous json schema dereference utility
http://bojand.github.io/json-schema-deref-sync
MIT License
35 stars 24 forks source link

Feature: Merge additional properties #14

Closed simonmeusel closed 6 years ago

simonmeusel commented 6 years ago

By default properties in a object with $ref will be removed in the output.

If set to true they will be added/overwrite the output.

Default: false.

If you don't want this feature, just close this PR. This feature does not comply with the json schema spec http://json-schema.org/latest/json-schema-core.html#rfc.section.8.3

All other properties in a "$ref" object MUST be ignored.