Open chris-ep opened 4 years ago
I would be happy to get an update - this makes the converter functionality useless in practical terms.
This seems like a legitimate bug - thanks for providing a test case!
Unfortunately I don't have much time to devote to api-spec-converter these days, but would be happy to review a PR here.
Thanks for the update @rbren. I am willing to give it a try, will you be kind to give me a few pointers?
Thanks!
👍 My guess is the issue is somewhere in this function: https://github.com/LucyBot-Inc/api-spec-converter/blob/master/lib/converters/openapi3_to_swagger2.js#L64
Definitely in that file.
Will give it a try! Thanks!
@sytolk and @chris-ep - I fixed the issue. Please check the fix :-)
Hello,
i have a issue by the convert of a openapi3 to swagger2 api documentation. For me its look like that only one #ref is resolved if one component is referenced more then once.
For example i have create a simple file:
If i try to convert this file the result is:
Only at the first endpoint the body is present on the second endpoint the body is missing.