usebark_rest::ApiDoc;useutoipa::OpenApi;fnmain(){// Generate the OpenAPI specification
let openapi =ApiDoc::openapi();// Convert to pretty-printed JSON
let json =serde_json::to_string_pretty(&openapi).expect("Failed to serialize OpenAPI spec to JSON");// Print to stdout
println!("{}", json);}