Circular dependencies support
Issue #5
duplicate
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)
-
-
- changed status to duplicate
Duplicate of
#3. -
Updates on the implementation of this feature will be made here:
https://bitbucket.org/atlassian/openapi-diff/issues/6/add-support-for-circular-references - Log in to comment
We currently do not support circular references. See this issue for details:
https://bitbucket.org/atlassian/openapi-diff/issues/3/are-specs-with-circular-references