-
Notifications
You must be signed in to change notification settings - Fork 86
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
Open API isn't handling arrays correctly #779
Comments
Thanks for reporting this. I'm not sure why you received the ARC error, but the OpenAPI scanner part should be resolved with the linked pull requests :) |
Thanks a lot @MikeEdgar :) Should I close this issue? |
No need, once the PR is reviewed and merged it will close automatically. |
After this merge, do you know if the next release of Quarkus will have this improvement of the smallrye-openapi? |
@felipewind it should be in the next Quarkus |
As @MikeEdgar requested in this issue on the Quarkus project, I openned this issue because I believe that Open API isn't handling arrays correctly.
I've created this project to test this situation - smallrye-open-api-test
My endpoint class:
My Client class that is used as the scheme:
Without the
org.eclipse.microprofile.openapi.annotations.media.Schema
annotation above, I receive the following error on the console:And in the swagger-ui:
If I use the
org.eclipse.microprofile.openapi.annotations.media.Schema
annotation, everything works fine.Sorry if I did something wrong!
The text was updated successfully, but these errors were encountered: