发布Spring Request参数

时间:2017-01-04 10:45:57

标签: java spring enunciate

我想用发音记录我的Spring api。工作正常,但有些端点包含请求参数。这些不会通过enunciate记录。

-(void)scrollViewDidScroll: (UIScrollView*)scrollView
{
    if(scrollView.tag==1)
    {
    float scrollViewHeight = scrollView.frame.size.height;
    float scrollContentSizeHeight = scrollView.contentSize.height;
    float scrollOffset = scrollView.contentOffset.y;

    if (scrollOffset == 0)
    {
        // then we are at the top
    }
    else if (scrollOffset + scrollViewHeight == scrollContentSizeHeight)
    {
        //Handle Code to activate the child scrollView.
        // then we are at the end
    }
    }
}

enunciate docu将id作为参数记录,但不记录requestParameter" action"。怎么解决这个问题?

1 个答案:

答案 0 :(得分:0)

将@param添加到javadoc

/**
 * Does some magic.
 * 
 * @param action description of this parameter
 * @param id and you can describe id here too
 * 
 * @HTTP 201 Successful Request.
 */