golang-swaggerui-example icon indicating copy to clipboard operation
golang-swaggerui-example copied to clipboard

$ref Syntax is not evaluated correctly

Open Soneca-ii opened this issue 2 years ago • 0 comments

Hi,

I was trying to use your library and found out that when i use $ref to another local yaml on the disk it does not follow and generates a missing definition when swagger ui is loaded.

(from swagger documentation) _Remote Reference – $ref: 'document.json' Uses the whole document located on the same server and in the same location. (...) The element of the document located in the parent folder – $ref: '../document.json#/myElement'

Is this something possible to update?

BR,

Soneca-ii avatar May 11 '22 08:05 Soneca-ii