optionalProps helper i just hit a very irritating bug.
{{ optionalProps('../../user/model.yml') }}
Hits reference issues when your optionalProp file includes a $ref
The result will be that the optionalProp helper tries to resolve the nested $ref from the location of the said helper. This just results in an ugly error as the JSON Refs parser rightly cannot find the file. To make it even harder to debug.. if you have a double nested ref. the pointer seems to get really lost.
optionalProps helper i just hit a very irritating bug.
{{ optionalProps('../../user/model.yml') }}
Hits reference issues when your optionalProp file includes a $ref
The result will be that the optionalProp helper tries to resolve the nested $ref from the location of the said helper. This just results in an ugly error as the JSON Refs parser rightly cannot find the file. To make it even harder to debug.. if you have a double nested ref. the pointer seems to get really lost.