moadim 0.0.4

Moadim.io MCP/REST server for managing cron jobs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Build-time code generation: OpenAPI spec and JSON Schema artifacts.

/// OpenAPI spec generator.
mod job_schema;
/// Job JSON Schema generator.
mod openapi;
mod ui;

/// Run all code-generation steps, writing output into `manifest_dir`.
pub fn run(manifest_dir: &str) {
    openapi::generate(manifest_dir);
    job_schema::generate(manifest_dir);
    ui::build(manifest_dir);
}