Closed SelAnt closed 6 years ago
Thank you for your bug report, and for the example specifications! Looking at your specifications, the difference appears to be that the first specification uses a $ref
in the response, while the second specification spells out the response via a properties
hash. Both specification appear valid, so it looks like this is a bug with Swagger::Diff.
I don't think this will be too hard to fix, as this is already supported by request parameters. In the meantime, you should be able to work around this by using a $ref
in your response instead of spelling out the full response via a properties
hash.
I just released Swagger::Diff 1.1.2, a bugfix release addressing this issue. If you encounter any other problems, please let us know.
Hi,
I have 2 Swagger docs. One was created manually, one - automatically. Swagger-diff shows a lot of discrepancies between documents. However in Swagger Editor both documents looks similar. Please see swagger-diff output and documents below.
Thank you in advance for help,
Swagger-diff output:
---------------------Document 1----------------------------------
----------------------Document 2---------------------------------