跳到内容

tsoa-next / tsoa-next / SpecCacheContext

接口: SpecCacheltext

定义如下: packages/runtime/src/decorators/specPath.ts:30

上下文传递给光谱响应缓存 。

属性

cacheKey

ts
cacheKey: string;

定义如下: packages/runtime/src/decorators/specPath.ts:31


controllerClass

ts
controllerClass: object;

定义如下: packages/runtime/src/decorators/specPath.ts:32


format?

ts
optional format?: SpecDocumentFormat | "html";

定义如下: packages/runtime/src/decorators/specPath.ts:37


fullPath

ts
fullPath: string;

定义如下: packages/runtime/src/decorators/specPath.ts:33


path

ts
path: string;

定义如下: packages/runtime/src/decorators/specPath.ts:34


runtime

ts
runtime: SpecRuntime;

定义如下: packages/runtime/src/decorators/specPath.ts:35


target

ts
target: 
  | BuiltinSpecPathTarget
  | "custom";

定义如下: packages/runtime/src/decorators/specPath.ts:36

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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