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

tsoa-next / tsoa-next / SpecResponseHandler

نوع " ألياس " :

ts
type SpecResponseHandler = (context) => 
  | SpecResponseValue
| Promise<SpecResponseValue>;

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

معالج تقليدي يستخدمه SpecPath لخدمة محتوى العينات.

البارامترات

context

SpecRequestContext

العودة

| SpecResponseValue | Promise<SpecResponseValue>

Contributors

No contributors

Changelog

No recent changes

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