You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Iliya Grushevskiy (Jira)" <ji...@apache.org> on 2022/11/10 22:37:00 UTC

[jira] [Created] (CAMEL-18711) OpenAPI Schema references not generating correctly

Iliya Grushevskiy created CAMEL-18711:
-----------------------------------------

             Summary: OpenAPI Schema references not generating correctly 
                 Key: CAMEL-18711
                 URL: https://issues.apache.org/jira/browse/CAMEL-18711
             Project: Camel
          Issue Type: Bug
          Components: camel-openapi-java
    Affects Versions: 3.19.0, 3.18.3, 3.14.6
            Reporter: Iliya Grushevskiy


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)