开发者社区 问答 正文

jboot swagger里面能加入header参数吗?怎么配置?:报错

请问jboot swagger里面能加入header参数吗?怎么配置?

展开
收起
kun坤 2020-06-05 22:57:26 570 分享 版权
1 条回答
写回答
取消 提交回答
  • 已解决:直接使用
    @ApiImplicitParam(name = "xx", value = "ID", paramType = ParamType.HEADER, dataType = "string", required = true),

    ######

    你配置完swagger能直接在前端页面用json参数请求吗?

    2020-06-05 22:57:33
    赞同 展开评论