Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
893 B
TypeScript
25 lines
893 B
TypeScript
import { OpenAPIObject } from './open-api-spec.interface';
|
|
import { SwaggerUiOptions } from './swagger-ui-options.interface';
|
|
export interface SwaggerCustomOptions {
|
|
useGlobalPrefix?: boolean;
|
|
swaggerUiEnabled?: boolean;
|
|
ui?: boolean;
|
|
raw?: boolean | Array<'json' | 'yaml'>;
|
|
swaggerUrl?: string;
|
|
jsonDocumentUrl?: string;
|
|
yamlDocumentUrl?: string;
|
|
patchDocumentOnRequest?: <TRequest = any, TResponse = any>(req: TRequest, res: TResponse, document: OpenAPIObject) => OpenAPIObject;
|
|
explorer?: boolean;
|
|
swaggerOptions?: SwaggerUiOptions;
|
|
customCss?: string;
|
|
customCssUrl?: string | string[];
|
|
customJs?: string | string[];
|
|
customJsStr?: string | string[];
|
|
customfavIcon?: string;
|
|
customSiteTitle?: string;
|
|
customSwaggerUiPath?: string;
|
|
validatorUrl?: string;
|
|
url?: string;
|
|
urls?: Record<'url' | 'name', string>[];
|
|
}
|