sourcey / spectacle

Beautiful static documentation generator for OpenAPI/Swagger 2.0

Home Page:https://sourcey.com/spectacle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

x-external property when referencing external example

llirikkk opened this issue · comments

Hi guys.

When I reference an external example I get x-external property added to that example.

api.yaml:
example:
$ref: './examples/exampleResponse.json'

In the browser:
{
...
"x-external": "examples/exampleResponse.json"
}

Is there a way to remove this extra property?

Spectacle does not currently support rendering response snippets from external files, for now please render them inline.