export enum IMethod { "post", "put", "get", "delete" } export type IParamsTypeEnum = "String" | "bool" | "num" | "DateTime" | "object" | "list" | "enum" | "int" | "double" | "dynamic" | "number"; export type IParamsTypeEnum1 = "String" | "bool" | "num" | "DateTime" | "int" | "double"; export type IParamsType = { type: IParamsTypeEnum, jsonKey?: string, required?: boolean, desc?: string, enum?: Record, child?: Record | "String" | "bool" | "num" | "DateTime" | "double" | "int", final?: boolean, url?: boolean }; export interface IApiDocFuncInterface { body?: Record; params?: Record; response?: Record | IParamsTypeEnum1 | [Record | IParamsTypeEnum1]; } export interface IApiDocInterface { [key: string]: { funcName: string; desc?: string; contentType?: "json" | "urlencoded" | "formData", "post"?: IApiDocFuncInterface; "put"?: IApiDocFuncInterface; "delete"?: IApiDocFuncInterface; "get"?: IApiDocFuncInterface; }; }