Open mategvo opened 8 years ago
Following up to @mateuszgwozdz comment (we're working on the same project), I think it might be related to definitions that use allOf
, for example:
"definitions": {
"Category": {
"description": "A complete category model",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CategoryId"
},
{
"$ref": "#/definitions/CategoryBase"
},
{
"$ref": "#/definitions/CategoryImage"
}
]
},
...
}
Could it be that your fork is behind the master source, and that it doesn't support parsing allOf
entries?
Seems that I've fixed the issue, copied the Resolution part of new swagger-ui.js and replaced in this one.
could you elaborate on how you fixed this issue I'm getting the same problem when using allOf
I'm also wondering if you could elaborate on how you resolved this issue? I'm seeing the same problem when using allOf
@mateuszgwozdz could you explain what you did or upload your fix somehow?
Hey, first of all, great theme!
We have a fairly complex JSON file so we've created lots of smaller $ref reusable bits but they don't seem to load properly. The sample data is empty and parameters aren't loaded neither. Do you know how we can fix this?
Note that the final .json file is completely self-contained. The _$ref_s only refer to other parts of the .json file, not outside documents