@nestia/sdk
Version:
Nestia SDK and Swagger generator
19 lines (15 loc) • 533 B
text/typescript
import { IMetadataComponents, IMetadataSchema } from "@typia/interface";
import { MetadataFactory } from "../internal/legacy";
import { IReflectType } from "./IReflectType";
export interface IReflectHttpOperationException {
// BASIC PROPERTIES
status: number | "2XX" | "3XX" | "4XX" | "5XX";
description: string | null;
example?: any;
examples?: Record<string, any>;
// REFLECTED PROPERTIES
type: IReflectType;
metadata: IMetadataSchema;
components: IMetadataComponents;
validate: MetadataFactory.Validator;
}