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

OpenAPI Schema references not generating correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.14.6, 3.18.3, 3.19.0
    • 3.18.4, 3.20.0
    • camel-openapi-java
    • None
    • Unknown

    Description

      References to schema definitions are not generating correctly when classes defined in RestDefiniton type and outType have @Schema(name = "...") annotation. Older camel-swagger-java component doesn't have this issue.

      Generated references contains full class name of defined class while schemas contains short names from annotations.

      Also generated x-className extension of such classes doesn't contain class name but contain short name from annotation. 

      see: https://issues.apache.org/jira/browse/CAMEL-15503

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              iliya.gr Iliya Grushevskiy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: