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

tsoa-next / @tsoa-next/runtime / SpecRequestContext

Interface: Spec RequestContext

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

السياق المجهول للطلبات SpecPath المعالجون.

التذييلات

الممتلكات

cacheKey

ts
cacheKey: string;

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

Inherited from

SpecCacheContext.cacheKey


controllerClass

ts
controllerClass: object;

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

Inherited from

SpecCacheContext.controllerClass


format?

ts
optional format?: SpecDocumentFormat | "html";

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

Inherited from

SpecCacheContext.format


fullPath

ts
fullPath: string;

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

Inherited from

SpecCacheContext.fullPath


path

ts
path: string;

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

Inherited from

SpecCacheContext.path


request?

ts
optional request?: unknown;

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


response?

ts
optional response?: unknown;

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


runtime

ts
runtime: SpecRuntime;

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

Inherited from

SpecCacheContext.runtime


target

ts
target: 
  | BuiltinSpecPathTarget
  | "custom";

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

Inherited from

SpecCacheContext.target

الطرائق

getSpecObject()

ts
getSpecObject(): Promise<Spec>;

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

العودة

Promise<Spec>


getSpecString()

ts
getSpecString(format): Promise<string>;

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

البارامترات

format

SpecDocumentFormat

العودة

Promise<string>

Contributors

No contributors

Changelog

No recent changes

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