@nestia/sdk
Version:
Nestia SDK and Swagger generator
19 lines (16 loc) • 613 B
text/typescript
import type { VERSION_NEUTRAL } from "@nestjs/common/interfaces";
import { IReflectHttpOperation } from "./IReflectHttpOperation";
import { IReflectMcpOperation } from "./IReflectMcpOperation";
import { IReflectWebSocketOperation } from "./IReflectWebSocketOperation";
export interface IReflectController {
class: Function;
prefixes: string[];
paths: string[];
file: string;
versions: Array<string | typeof VERSION_NEUTRAL> | undefined;
operations: Array<
IReflectHttpOperation | IReflectWebSocketOperation | IReflectMcpOperation
>;
security: Record<string, string[]>[];
tags: string[];
}