tsoa-next / tsoa-next / SpecCacheHandler
接口: SpecCacheHandler
定义如下: packages/runtime/src/decorators/specPath.ts:54
使用的缓存适配器 SpecPath 以记忆生成的响应。
方法
get()
ts
get(context):
| SpecResponseValue
| Promise<SpecResponseValue | undefined>
| undefined;定义如下: packages/runtime/src/decorators/specPath.ts:55
参数
context
回返
| SpecResponseValue | Promise<SpecResponseValue | undefined> | undefined
set()
ts
set(context, value): void | Promise<void>;定义如下: packages/runtime/src/decorators/specPath.ts:56
参数
context
value
string
回返
void | Promise<void>
贡献者
暂无相关贡献者
页面历史
暂无最近变更历史
