تخطي إلى المحتوى

tsoa-next / @tsoa-next/runtime / SpecCacheHandler

Interface: SpecCacheHandler ​

محددة في: packages/runtime/src/decorators/specPath.ts:54

Cache adapter used by SpecPath لتذكير الاستجابات المتولدة.

الطرائق ​

get() ​

ts
get(context): 
  | SpecResponseValue
  | Promise<SpecResponseValue | undefined>
  | undefined;

محددة في: packages/runtime/src/decorators/specPath.ts:55

البارامترات ​

context ​

SpecCacheContext

العودة ​

| SpecResponseValue | Promise<SpecResponseValue | undefined> | undefined


set() ​

ts
set(context, value): void | Promise<void>;

محددة في: packages/runtime/src/decorators/specPath.ts:56

البارامترات ​

context ​

SpecCacheContext

value ​

string

العودة ​

void | Promise<void>

Contributors

No contributors

Changelog

No recent changes

توليد OpenAPI وتوليد المسارات والتحقق وقت التشغيل مع اعتماد TypeScript أولاً.