This commit is contained in:
2025-10-25 23:46:01 +02:00
parent d7aefc4110
commit 62cadbcfa0
8 changed files with 1061 additions and 55 deletions
+8
View File
@@ -0,0 +1,8 @@
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);
}