You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/11/25 11:43:00 UTC
[jira] [Updated] (CAMEL-18761) camel-open-api - Warning log when using boolean type.
[ https://issues.apache.org/jira/browse/CAMEL-18761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-18761:
--------------------------------
Fix Version/s: 3.20.0
> 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.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)