sqle icon indicating copy to clipboard operation
sqle copied to clipboard

Automatically delete the slash at the end of URI

Open HuangWeiCen opened this issue 2 years ago • 0 comments

问题描述

swagger注释和代码中注册API的位置需要手动填写两遍URI(格式不一样不能复制粘贴), 如果uri的最后一节是可变路径, 则两处URI的末尾需要保持一致, 要么都加斜杠, 要么都不加, 否则可能导致echo错误的将末尾斜杠也当作可变路径的一部分

HuangWeiCen avatar Apr 06 '22 08:04 HuangWeiCen