tsoa-next / @tsoa-next/runtime / SpecPath
Función: SpecPath()
ts
function SpecPath(
path?,
optionsOrTarget?,
cache?): ClassDecorator;Definido en: packages/runtime/src/decorators/specPath.ts:157
Registra una ruta controlador-local que sirve al generado OpenAPI documento o respuesta derivada personalizada.
Parámetros
path?
string = 'spec'
La ruta relativa. Defaults to spec.
optionsOrTarget?
| SpecPathTarget | SpecPathOptions
O una SpecPathOptions o el argumento objetivo heredado.
cache?
SpecPathCache = 'memory'
Legacy cache strategy argument. Defaults to in-memory caching.
Devoluciones
ClassDecorator
Contributors
No contributors
Changelog
No recent changes
