-
Notifications
You must be signed in to change notification settings - Fork 537
Issue 740: OpenAPI v2 converter: java.lang.IllegalArgumentException with allOf and discriminatorr #746
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
Conversation
OpenAPI v2 converter: java.lang.IllegalArgumentException with allOf and discriminator
OpenAPI v2 converter: java.lang.IllegalArgumentException with allOf and discriminator
ResolveFully doesn't resolve the request bodies
|
Thank you for looking into this topic. I am not part of the team, but I guess a unit test to cover your changes would be great. Have a look at V2ConverterTest. You will need to add a new file like The example ( Let me know if you need some help. |
|
This change looks good to me. @ymohdriz Thank you for this contribution. I recommend you to add a unit test to this PR. As an example, I have created one jmini@da64e41 in my fork on top of your commit ymohdriz@e4da496. Can you please integrate this commit (or a similar one) in this Pull Request? Note: When merging this PR I recommend "Squash and merge" because the intermediate commit in this branch are not really useful. |
|
Hi @ralphdoe, Sure I will add the junit test for this issue. In future, I will commit the junits along with the fix. Thanks, |
Port pull request swagger-api#746
|
This PR has still no junit tests... @ymohdriz feel free to just add my commit to your PR or to add something similar. |
|
@ralphdoe, @gracekarina: I have opened an alternative PR to include the unit test discussed here and to solve the merge conflicts. => #777 |
Hi team,
This PR is to solve the illegal argument exception in swagger converter as mentioned in the issue #740
Please review the PR and merge the same.
Thanks,
Mohammed