सामग्री पर जाएं

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

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

TypeScript-प्रथम OpenAPI जनरेशन, रूट जनरेशन और रनटाइम वैलिडेशन।