[
https://issues.apache.org/jira/browse/CAMEL-18761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-18761.
---------------------------------
Fix Version/s: 3.18.4
(was: 3.18.5)
Resolution: Fixed
Thanks for reporting and the PR
> camel-open-api - Warning log when using boolean type.
> -----------------------------------------------------
>
> Key: CAMEL-18761
> URL: https://issues.apache.org/jira/browse/CAMEL-18761
> Project: Camel
> Issue Type: Improvement
> Components: camel-openapi-java
> Affects Versions: 3.19.0
> Reporter: Anthony Defraine
> Priority: Trivial
> Fix For: 3.18.4, 3.20.0
>
>
> The generation of the Schema produce a warn log when it should not for the
> _boolean_ type :
> {code:java}
> WARN RestModelConverters - Encountered unexpected type boolean in
> processing schema.{code}
> The OpenApi spec says :
> https://swagger.io/docs/specification/data-models/data-types
> {code:java}
> string (this includes dates and files)
> number
> integer
> boolean
> array
> object{code}
> Since it just an error log, it's hard to test, so I added a boolean in the
> User.java, the log is no longer there.
> PR is on its way
--
This message was sent by Atlassian Jira
(v8.20.10#820010)