跳到内容

tsoa-next / @tsoa-next/runtime / Path

函数: 路径( )

ts
function Path(name?): ParameterDecorator;

定义如下: packages/runtime/src/decorators/parameter.ts:40

从请求的 URL 中绑定路径参数。

参数

name?

string

路径参数名 。 默认参数名称。

回返

ParameterDecorator

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

以 TypeScript 为先的 OpenAPI 生成、路由生成与运行时验证。