michangarrito/apps/backend/node_modules/@nestjs/swagger/dist/services/response-object-mapper.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

20 lines
1.1 KiB
TypeScript

import { ApiResponseMetadata, ApiResponseSchemaHost } from '../decorators';
export declare class ResponseObjectMapper {
private readonly mimetypeContentWrapper;
toArrayRefObject(response: Record<string, any>, name: string, produces: string[]): {
content: import("../interfaces/open-api-spec.interface").ContentObject;
};
toRefObject(response: Record<string, any>, name: string, produces: string[]): {
content: import("../interfaces/open-api-spec.interface").ContentObject;
};
wrapSchemaWithContent(response: ApiResponseSchemaHost & ApiResponseMetadata, produces: string[]): (ApiResponseSchemaHost & ApiResponseMetadata) | {
content: import("../interfaces/open-api-spec.interface").ContentObject;
description?: string;
type?: string | Function | import("@nestjs/common").Type<unknown> | [Function];
isArray?: boolean;
headers?: import("../interfaces/open-api-spec.interface").HeadersObject;
links?: import("../interfaces/open-api-spec.interface").LinksObject;
status?: number | "default" | "1XX" | "2XX" | "3XX" | "4XX" | "5XX";
};
}