9 lines
206 B
Rust
9 lines
206 B
Rust
use backend::openapi::ApiDoc;
|
|
use utoipa::OpenApi;
|
|
|
|
fn main() {
|
|
let spec = ApiDoc::openapi();
|
|
let json = serde_json::to_string_pretty(&spec).expect("serialize openapi");
|
|
println!("{}", json);
|
|
}
|