Swagger-ui: Circular Reference generate errors

Created on 10 Apr 2017  路  8Comments  路  Source: swagger-api/swagger-ui

On master

Circular reference generate errors.

Like "Node" contains a list of nodes for instance

Errors

Resolver error
too much recursion
Resolver error
too much recursion

Parameters view is also broken

Maybe relative to
Very slow loading times #1919

P1 lock-bot bug 3.x

Most helpful comment

Interesting. I see a different behavior if the file is embedded vs hosted. No major issues with the embedded version, but once hosted... :boom:.

All 8 comments

Can you share a spec that reproduces it? We've tested circular reference support.

3.0.3 OK
3.0.5 and master KO

Interesting. I see a different behavior if the file is embedded vs hosted. No major issues with the embedded version, but once hosted... :boom:.

I see a different behavior if the file is embedded vs hosted.

@webron, thanks for the hint. You just saved me a couple additional hours of debugging 馃槃

The problem has been isolated to swagger-js, writing regression tests and looking for a fix now.

Hi everyone - we just merged the PR that fixes this in swagger-js, and you can expect the fix to be in our Friday release tomorrow evening 馃槃

Was this page helpful?
0 / 5 - 0 ratings