Re: camel-openapi-java - rendering the API causes ClassCastException

2022-05-18 Thread Claus Ibsen
Hi Are you are using OSGi / Karaf then this can do proxy beans behind the scene, that leads to troubles like this. If using OSGi we need a reproducer, you can put that on github or attach as JIRA with instructions how to run. On Wed, May 18, 2022 at 5:46 PM Zheng Feng wrote: > > Hi Martin, >

Re: camel-openapi-java - rendering the API causes ClassCastException

2022-05-18 Thread Zheng Feng
Hi Martin, Please raise a JIRA issue with https://issues.apache.org/jira/browse/CAMEL. And do you have a handy re-producer and what is the expected rendering output? Regards, Zheng Feng On Wed, May 18, 2022 at 10:35 PM Martin Lichtin wrote: > There's a bean with this annotation > > @Size(

camel-openapi-java - rendering the API causes ClassCastException

2022-05-18 Thread Martin Lichtin
There's a bean with this annotation     @Size(min = 1, max = 10)     @NotNull     private java.lang.String name; looks like causing 2022-05-18T11:56:27,906 | WARN  | qtp534549026-548 | RestOpenApiProcessor | mel.openapi.RestOpenApiProcessor   78 | 257 - org.apache.camel.ca