You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Anthony Defraine (Jira)" <ji...@apache.org> on 2022/11/25 11:12:00 UTC
[jira] [Created] (CAMEL-18761) camel-open-api - Warning log when using boolean type.
Anthony Defraine created CAMEL-18761:
----------------------------------------
Summary: 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
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)