import AbstractCommand from '../modules/AbstractCommand.ts'; /** * Generate an OpenAPI 3.1 document from the app's controllers. * * Boot-based: builds a `RouteRegistry` and registers every controller with * `skipWrap` (no middleware instantiation, no mongo, no HTTP listen), then walks * `flatten()` — the SAME route model codegen reads. Loading the controllers is * what gives the generator the *live* schema objects needed to emit JSON Schema * (the AST front-end only sees type references). OpenAPI is a cold, rare run, so * the one-time load is fine. */ declare class OpenApi extends AbstractCommand { static get description(): string; static isShouldInitModels: boolean; static isShouldGetModelPaths: boolean; static get commandArguments(): { output: { type: 'string'; description: string; }; }; run(): Promise; /** Read `name`/`description`/`version`/`author.email` from the consumer's package.json. */ private readPackageInfo; } export default OpenApi;