donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
17 lines • 611 B
TypeScript
import type { Request, Response } from 'express';
/**
* API endpoints for serving OpenAPI schema documentation.
*/
export declare class SchemaApi {
readonly yamlSchema: string;
readonly htmlSchema: string;
private static DEFAULT_YAML_SCHEMA;
private static DEFAULT_HTML_SCHEMA;
constructor(yamlSchema?: string, htmlSchema?: string);
/**
* Serves the OpenAPI schema in YAML or HTML format based on Accept header.
* Defaults to YAML if no specific format is requested.
*/
getSchema(req: Request, res: Response): Promise<void>;
}
//# sourceMappingURL=SchemaApi.d.ts.map