Circular dependencies support

Issue #5 duplicate
Anton created an issue

Comparing my APIs with swagger-diff (Ruby implementation) I get correct results.

Comparing same APIs with openapi-diff I get:
OpenApiDiffErrorImpl [VError]: ReferenceError: Circular $ref pointer found

My API indeed uses a single response schema for all endpoints and, for some rare cases, sub-responses can also be based on the same response schema – this is the universal approach we decided to follow to support server-driven UI for mobile applications.

Is this a bug of your diff implementation or OpenAPI in general forbids the use of circular references?

Comments (3)

  1. Log in to comment