Hello,

I have integrated swagger with spring framework.
I have following two issues -
Issue 1. How to force method parameters with custom annotation to have 
parameter type as *formData in json output via ../v2/api-docs*


For example, there exists an API in my custom controller

public AttributeInfoList 
createAttributes(@WebSerializedParam("attributeinfolist") AttributeInfoList 
attributeInfoList){
.........
}


The problem is that Parameter Type for attributeInfoList is of type body.
I expect parameterType to be formData as i will have a URL like 
....../service/admin/attributes?attributeinfolist=<attributeInfoList><attributeInfo><name>Is
 
publish ready 3333</name></attributeInfo></attributeInfoList>


2. The REST request parameter name should be same as annotation value. 
Such that the parameter name should be attributeinfolist and not 
attributeInfoList(i.e. camelCase)



Thanks,
Jaspreet




-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to