【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
请问jboot swagger里面能加入header参数吗?怎么配置?
已解决:直接使用 @ApiImplicitParam(name = "xx", value = "ID", paramType = ParamType.HEADER, dataType = "string", required = true),
你配置完swagger能直接在前端页面用json参数请求吗?
已解决:直接使用
@ApiImplicitParam(name = "xx", value = "ID", paramType = ParamType.HEADER, dataType = "string", required = true),
你配置完swagger能直接在前端页面用json参数请求吗?