Francesco Chicchiriccò created CXF-8158:
-------------------------------------------
Summary: @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.3.4, 3.2.11
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
Fix For: 3.4.0, 3.3.5, 3.2.12
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)