blahrs/blah-types/examples/openapi.rs
2024-10-16 07:26:00 -04:00

8 lines
214 B
Rust

#![expect(clippy::print_stdout, reason = "allowed to dump OAPI")]
fn main() {
let json = blah_types::openapi()
.to_pretty_json()
.expect("serialization cannot fail");
println!("{json}");
}