Saltar al contenido

tsoa-next / tsoa-next / SpecRequestContext

Interfaz: SpecRequestContext ​

Definido en: packages/runtime/src/decorators/specPath.ts:41

Contexto aplicado a la medida SpecPath manipuladores.

Extensión ​

Propiedades ​

cacheKey ​

ts
cacheKey: string;

Definido en: packages/runtime/src/decorators/specPath.ts:31

Inhered from ​

SpecCacheContext.cacheKey


controllerClass ​

ts
controllerClass: object;

Definido en: packages/runtime/src/decorators/specPath.ts:32

Inhered from ​

SpecCacheContext.controllerClass


format? ​

ts
optional format?: SpecDocumentFormat | "html";

Definido en: packages/runtime/src/decorators/specPath.ts:37

Inhered from ​

SpecCacheContext.format


fullPath ​

ts
fullPath: string;

Definido en: packages/runtime/src/decorators/specPath.ts:33

Inhered from ​

SpecCacheContext.fullPath


path ​

ts
path: string;

Definido en: packages/runtime/src/decorators/specPath.ts:34

Inhered from ​

SpecCacheContext.path


request? ​

ts
optional request?: unknown;

Definido en: packages/runtime/src/decorators/specPath.ts:42


response? ​

ts
optional response?: unknown;

Definido en: packages/runtime/src/decorators/specPath.ts:43


runtime ​

ts
runtime: SpecRuntime;

Definido en: packages/runtime/src/decorators/specPath.ts:35

Inhered from ​

SpecCacheContext.runtime


target ​

ts
target: 
  | BuiltinSpecPathTarget
  | "custom";

Definido en: packages/runtime/src/decorators/specPath.ts:36

Inhered from ​

SpecCacheContext.target

Métodos ​

getSpecObject() ​

ts
getSpecObject(): Promise<Spec>;

Definido en: packages/runtime/src/decorators/specPath.ts:44

Devoluciones ​

Promise<Spec>


getSpecString() ​

ts
getSpecString(format): Promise<string>;

Definido en: packages/runtime/src/decorators/specPath.ts:45

Parámetros ​

format ​

SpecDocumentFormat

Devoluciones ​

Promise<string>

Contributors

No contributors

Changelog

No recent changes

Generación de OpenAPI, generación de rutas y validación en tiempo de ejecución con prioridad en TypeScript.