Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.21.2, 4.0.2, 4.2.0
-
None
-
Unknown
Description
There is some logic in the openapi-java component to handle different array types:
If you provide a set of allowable values, then you end up in method convertAndSetItemsEnum:
The problem is that the code attempts to invoke static method valueOf. This will only be present for types that are standard JDK types (Integer, Float, Double etc). For types like ByteArraySchema, BinarySchema etc, no such method exists hence Camel startup will fail with NoSuchMethodException.
Attachments
Issue Links
- links to