export interface ObjectProperty { name: string; type: string; title?: string; description?: string; isArray?: number; isRequired?: boolean; isAlias?: boolean; [k: string]: any; } export interface OperationParameter { name: string; in: string; type: string; title?: string; description?: string; isArray?: number; isRequired?: boolean; isAlias?: boolean; properties?: ObjectProperty[]; [k: string]: any; } export interface OperationResponse { name: string; type?: string; title?: string; description?: string; isArray?: number; isAlias?: boolean; properties?: ObjectProperty[]; [k: string]: any; } export interface Operation { /** * route name */ route: string; /** * method name */ name: string; /** * request url pattern */ path?: string; /** * request http action */ action?: string; /** * title of this operation */ title?: string; /** * description of this operation */ description?: string; /** * request parameters */ parameters?: OperationParameter[]; /** * response objects */ responses?: OperationResponse[]; security?: string[]; [k: string]: any; } export declare type Operations = Operation[]; /** * Controller route operation model */ export interface ControllerOperations { operations: Operations; [k: string]: any; }