Rest-api-doc
Rest-api-doc copied to clipboard
able to get the body part, but not getting parameters
I have following settings for docs
@RestApiMethod(description="Generic query on an <Object>",verb = RestApiVerb.POST) @RestApiParams(params=[ @RestApiParam(name="max", type="long", paramType = RestApiParamType.QUERY, description = "The object id"), @RestApiParam(name="offfset", type="long", paramType = RestApiParamType.QUERY, description = "The object id"), @RestApiParam(name="order", type="string", paramType = RestApiParamType.QUERY, description = "The object id",allowedvalues=['asc','desc']), @RestApiParam(name="sort", type="string", paramType = RestApiParamType.QUERY, description = "The object id") ])
I am able to make a post call, and is able to get the body part, but not getting parameters, i changed RestApiParamType.QUERY to PATH as well but it didn't work. Is it some bug or some issue unseen so far. Need help on very urgent basis
I'm not sure to understand the issue. Do you have an issue with the PLAYGROUND (from rest api doc report)? Parameters were broken in an old version. Now it should be fix.
Yes!In playground section.The parameters are not coming in request while body is coming.We can have a small chat on hangouts if possible.I need it be resolved as soon as possible.
I try with my actual version playground (0.3.1) and it works well. The url has max, offfstet (type error?),...
Can you just copy the url build by the playground?