-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested refs aren't resolved #270
Comments
@sartymlg can you check if my PR fixes your issue? |
I've resolved it in this branch /~https://github.com/TheWorkshopLabs/swagger-parser/commits/SD-133-code-generation-error-external-refs |
@sartymlg can you create a pull request? I think we both did complementary things. |
@fehguy this should be reopened, since there's still work to do (perhaps add master...TheWorkshopLabs:SD-133-code-generation-error-external-refs). |
@diegode I can create a PR, please take a look when you can |
@fehguy you can close this :) |
Hi, In my definition I have a lot of schemas, so I decided split them in multiples files, the problem arises when in an external file, there are another reference.
As example, I've split this file into this gist
After parse pets.yaml, only there are two definitions:
However Pet is not added into definition field, so codegen can't generate it.
I think there are two problems:
PS: This issue is probably related with #229 and #147
The text was updated successfully, but these errors were encountered: