1. 程式人生 > >swagger ui 值類型形參加文字註釋

swagger ui 值類型形參加文字註釋

ons string require str spa type data style ams

例:

@ApiImplicitParams({
        @ApiImplicitParam(paramType = "query", name = "indexConditionString", dataType = "String",
                required = true, value = "註釋文字") })

public Response getIndexDetail(@RequestParam("indexConditionString")String indexConditionString){
        return null;
}

swagger ui 值類型形參加文字註釋