You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/14 12:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/CXF-8158?focusedWorklogId=343369&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-343369 ]

ASF GitHub Bot logged work on CXF-8158:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Nov/19 12:25
            Start Date: 14/Nov/19 12:25
    Worklog Time Spent: 10m 
      Work Description: ilgrosso commented on pull request #601: [CXF-8158] Only proceed with javadoc description replacement when JAX-RS and OpenAPI parameters have same size
URL: https://github.com/apache/cxf/pull/601
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 343369)
    Remaining Estimate: 0h
            Time Spent: 10m

> @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)