curveball / browser

A HAL browser middleware for node.js
MIT License
43 stars 5 forks source link

Comments aren't appearing Pt. 2 #149

Open syedfkabir opened 2 years ago

syedfkabir commented 2 years ago

Continuation from https://github.com/curveball/browser/issues/141

Screenshots for context

N/A

Background

I followed JSON Schema documentation found here: link it's using $defs to reference a intermediary interface

Comments were not showing up for 'inner level' properties. In this case, when stepping through the code using a debugger, I found that other properties have a schema defined, while properties made using $defs only has a reference to the schema

Task

figure out how 'handle' a reference to a schema, or make a change to the schema so it does not use $defs