- Prefijo v2: MCH - TRACEABILITY-MASTER.yml creado - Listo para integracion como submodulo Workspace: v2.0.0 | SIMCO: v4.0.0
20 lines
1.1 KiB
TypeScript
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";
|
|
};
|
|
}
|