开发者社区> 问答> 正文

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

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

展开
收起
montos 2020-05-29 21:01:28 544 0
1 条回答
写回答
取消 提交回答
  • 已解决:直接使用
    @ApiImplicitParam(name = "xx", value = "ID", paramType = ParamType.HEADER, dataType = "string", required = true),

    ######

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

    2020-05-29 21:01:37
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Web应用系统性能优化 立即下载
高性能Web架构之缓存体系 立即下载
PWA:移动Web的现在与未来 立即下载