twskj / pretty-swag

Pretty UI for Swagger spec
MIT License
121 stars 20 forks source link

Bug: don't understand $ref in path. #9

Closed bark closed 7 years ago

bark commented 7 years ago
{
    "swagger": "2.0",
     ...
    "paths": {
        "/test": {
           "$ref": "./endpoints/test.json"
        }
    }
}

this should give me a endpoint named /test and all information in test.json. but it give: image

Walk around for more people having this problem is to use the cli tool json-refs before.

twskj commented 7 years ago

rolled out as version .71. Can you check please.

bark commented 7 years ago

Yes that works good, Nice! thanks :)