You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2020/01/15 10:25:01 UTC

[jira] [Closed] (CXF-8158) @BeanParam arguments not properly translated to OpenApi

     [ https://issues.apache.org/jira/browse/CXF-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed CXF-8158.
------------------------------------

> @BeanParam arguments not properly translated to OpenApi
> -------------------------------------------------------
>
>                 Key: CXF-8158
>                 URL: https://issues.apache.org/jira/browse/CXF-8158
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.11, 3.3.4
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>            Priority: Minor
>             Fix For: 3.4.0, 3.3.5, 3.2.12
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When a method is defined as follows:
> {code}
>  /**
>     * @param query query parameters
>     */
> Response search(@BeanParam Query query);
> {code}
> with the {{Query}} bean having more than one field, the OpenAPI description comes correctly with all parameters from {{Query}} but the first one shows the description from javadoc.
> This is due by the fact that in {{OpenApiCustomizer}} it is assumed that the JAX-RS parameters and OpenAPI parameters are the same, while {{@BeanParam}} breaks such condition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)