#[openapi]Expand description
A proc macro to be used in tandem with one of Rocket’s endpoint macros. It requires that all
of the arguments of the route implement one of the traits in rocket_okapi::request, and that
the return type implements OpenApiResponder.
§Example
ⓘ
use animi_rocket_okapi::openapi;
use rocket::get;
#[openapi]
#[get("/hello/<number>")]
fn hello_world(number: i32) -> String {
format!("Hello world number {}", number)
}