Closed McSym28 closed 1 month ago
I've ran the generate
job on a open-api-diffs fork and the tag was created successfully - oapi_generator/527cac2. Have I missed some config/setting?
Hi @McSym28, thanks for reporting this. I took a slightly different route to resolving this issue in #56. If you have time, coudl you check it out and see if it works for you?
Thanks! ❤️
Hi @aj-foster. This works for me. I've made a similar change in my first attempt. The only difference is that my solution is limited to only #/components/schemas/*
references.
Thanks!
I was trying to generate a library using one of our local bank's Open APIs (unfortunately it's only available in Ukrainian). I've extracted the JSON spec from page's source and passed it to your great library. Unfortunately I was getting an error when processing a "nested schema reference". The error looks something like this:
I've added a slim spec to simulate an error. Not sure what is the best approach to tackle this or if you want to support this case in your library. I've had another attempt in a different branch, but this one looks cleaner, IMO.
P.S. Thanks for your great work!