rovo 0.4.8

A drop-in replacement for axum::Router with effortless OpenAPI documentation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(unused_imports)]
use rovo::aide::axum::IntoApiResponse;
use rovo::response::Json;
use rovo::rovo;

/// Test handler with invalid example
///
/// # Examples
///
/// 200: This is not valid Rust code!!!
#[rovo]
async fn test_handler() -> impl IntoApiResponse {
    Json("test".to_string())
}

fn main() {}