LCOV - code coverage report
Current view: top level - service/src/bin - export_openapi.rs (source / functions) Coverage Total Hit
Test: Rust Backend Coverage Lines: 0.0 % 7 0
Test Date: 2025-12-20 21:58:40 Functions: 0.0 % 2 0

            Line data    Source code
       1              : //! Export the `OpenAPI` schema as JSON for codegen.
       2              : //!
       3              : //! Usage: `cargo run --bin export_openapi > ../web/openapi.json`
       4              : 
       5              : #![allow(clippy::print_stdout, clippy::expect_used)]
       6              : 
       7              : use tinycongress_api::rest::ApiDoc;
       8              : use utoipa::OpenApi;
       9              : 
      10            0 : fn main() {
      11            0 :     print!(
      12            0 :         "{}",
      13            0 :         ApiDoc::openapi()
      14            0 :             .to_pretty_json()
      15            0 :             .expect("OpenAPI JSON serialization failed")
      16              :     );
      17            0 : }
        

Generated by: LCOV version 2.0-1