swagger2

版本 : 2.9.2

记录一次错误

java.lang.NumberFormatException: For input string: ""

当写dataType时,需要填写example参数

    @ApiImplicitParams({
//        @ApiImplicitParam(value = "10", name = "名称", example = "1000",required = false, paramType = "query", dataType = "int", dataTypeClass = Integer.class)
        @ApiImplicitParam(name = "名称",required = false, paramType = "query",  dataType = "int")
    })
Copyright © TaoQZ 2019 all right reserved,powered by Gitbook作者联系方式:taoqingzhou@gmail.com 修订时间: 2024-11-19 17:25:44

results matching ""

    No results matching ""

    results matching ""

      No results matching ""