You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I`ve run into the same exception and have attached (as requested) a valid excerpt of a OpenAPI spec (reduced to the essential parts). You can use this as old and new file. The diff algo does seem to ignore the naming of the params, here "deviceId" for one and "dashboardId" for the other when comparing the paths.
Just stumbled on this bug myself. Triple checked the available endpoints and no duplicates.
Same endpoint exists for two different HttpMethods
GET /businessunits/{id}
PUT /businessunits/{name}
Error: Reason: Two path items have the same signature: /businessunits/{}
Hi,
I think I found a little bug in the diff algorithm ... please correct my if I'm wrong 😃
My schema contains something like this:
GET /api/vi/configuration/{configurationId}
POST /api/vi/configuration/{productId}
If run the diff then I got an error because of found more then one "/api/vi/configuration/{}".
I tried to fix this by adding an additional check:
to
to com.qdesrame.openapi.diff.core.compare.PathsDiff.diff(Map<String, PathItem>, Map<String, PathItem>)
The exception is gone ... but now I have strange compare results if the api is 100% equal. So I guess my fix is not 100% complete yet.
Any ideas?
The text was updated successfully, but these errors were encountered: