import type * as openapi3 from 'openapi3-ts'; export interface SwaggerConfig { info?: Partial; server?: openapi3.ServerObject[]; compilerOptions?: { rootDir?: string; include?: string[]; outputFileName?: string; }; devServer?: { port?: number; path?: string; }; } export interface SwaggerApiConfig extends Partial { method: 'get' | 'put' | 'post' | 'delete' | 'options'; header?: N; params?: T; body?: U; response?: V; [property: string]: any; }