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/11 10:06:00 UTC
[jira] [Resolved] (CAMEL-18711) OpenAPI Schema references not generating correctly
[ https://issues.apache.org/jira/browse/CAMEL-18711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-18711.
---------------------------------
Assignee: Claus Ibsen
Resolution: Fixed
Thanks for reporting and the PR
> 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.14.6, 3.18.3, 3.19.0
> Reporter: Iliya Grushevskiy
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.18.4, 3.20.0
>
>
> 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)