tsoa-next / tsoa-next / normalisePath
函数: 正态Path ()
ts
function normalisePath(
path,
withPrefix?,
withSuffix?,
skipPrefixAndSuffixIfEmpty?): string;定义如下: packages/runtime/src/utils/pathUtils.ts:43
将路由路径中的斜线用法规范化,并可选择应用前缀和后缀.
参数
path
string
withPrefix?
string
withSuffix?
string
skipPrefixAndSuffixIfEmpty?
boolean
回返
string
贡献者
暂无相关贡献者
页面历史
暂无最近变更历史
