tasker-orchestration 0.1.4

Orchestration system for tasker workflow coordination
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Generate the orchestration OpenAPI specification as JSON.
//!
//! Usage:
//!   cargo run --package tasker-orchestration --bin generate-openapi --features web-api

use tasker_orchestration::web::openapi::ApiDoc;
use utoipa::OpenApi;

fn main() {
    let spec = ApiDoc::openapi();
    println!(
        "{}",
        serde_json::to_string_pretty(&spec).expect("Failed to serialize OpenAPI spec")
    );
}