apiaryio / fury-adapter-swagger

Swagger 2.0 parser adapter for Fury.js
MIT License
11 stars 12 forks source link

Support circular referencing in JSON / JSON Schema #205

Closed kylef closed 6 years ago

kylef commented 6 years ago

This PR adds support for circular referencing. I think it is a great way to break down the work I was doing on changing how we support referencing as it is a way to introduce the reference handling into our code-base bit-by-bit. We can get this into production sooner and see how it behaves.

The JSON Schema generator fully supports referencing now, and faker already supports referencing (even circular). Data Structure will silently error out so it isn't present in parse results for circular. I will work on that next but it is a little bit more complicated and it will come into a separate PR.

Dependencies

Closes #45

pksunkara commented 6 years ago

My main issue is the comment I made in swagger-zoo.