public class ProducerBeanParamMapper extends Object implements ArgumentMapper
| Constructor and Description |
|---|
ProducerBeanParamMapper(Map<String,Integer> producerNameToSwaggerIndexMap,
int producerIdx,
Type producerParamType) |
| Modifier and Type | Method and Description |
|---|---|
void |
mapArgument(SwaggerInvocation invocation,
Object[] producerArguments) |
public ProducerBeanParamMapper(Map<String,Integer> producerNameToSwaggerIndexMap, int producerIdx, Type producerParamType)
producerNameToSwaggerIndexMap - name of the fields and setters defined in @BeanParam parameter to swagger
param indexproducerIdx - index of producer paramproducerParamType - type of producer parampublic void mapArgument(SwaggerInvocation invocation, Object[] producerArguments)
mapArgument in interface ArgumentMapperCopyright © 2017–2020 The Apache Software Foundation. All rights reserved.