Knife4j is a set of Swagger2 and OpenAPI3 All-in-one enhancement solution
Home Page:https://doc.xiaominfo.com
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jiangqiang1996 opened this issue 3 months ago · comments
@Operation(summary = "test") @GetMapping(value = {"/test/{*path}"}) public Result<String> test(@PathVariable String path) { return Result.ok(path); }
此写法可以让path获取带有一个或多个/的路径变量。但是knife4j的接口调试却把参数拼接在了问号后面。
正常应该是拼接在url上才对。