Skip to content
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

Allow arbitrary array instead of throwing UndocumentedArrayItemsException #2175

Closed
magnetik opened this issue Jan 4, 2024 · 1 comment
Closed

Comments

@magnetik
Copy link
Collaborator

magnetik commented Jan 4, 2024

Life is not easy, and sometimes you just wants to throw some array around without having to document them.

Currently when you do this, the bundle fails with an UndocumentedArrayItemsException.

I propose to log this as a notice (warning ?) and use the swagger type {} with is an array of arbitrary types (from https://swagger.io/docs/specification/data-models/data-types/#array).

The change is fairly simple and I will probably do a MR.

@DjordyKoert
Copy link
Collaborator

Fixed with #2184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants