Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18761

camel-open-api - Warning log when using boolean type.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.19.0
    • 3.18.4, 3.20.0
    • camel-openapi-java
    • None
    • Unknown

    Description

      The generation of the Schema produce a warn log when it should not for the boolean type : 

      WARN  RestModelConverters            - Encountered unexpected type boolean in processing schema.

      The OpenApi spec says : https://swagger.io/docs/specification/data-models/data-types

      string (this includes dates and files)
      number
      integer
      boolean
      array
      object

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kinae Anthony Defraine
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: