//! This test should just compile. use visual_rocket_okapi::gen::OpenApiGenerator; use visual_rocket_okapi::request::{OpenApiFromRequest, RequestHeaderInput}; use rocket_sync_db_pools::{database, diesel}; #[database("sqlite_logs")] pub struct MyDB(diesel::SqliteConnection); impl<'r> OpenApiFromRequest<'r> for MyDB { fn from_request_input( _gen: &mut OpenApiGenerator, _name: String, _required: bool, ) -> visual_rocket_okapi::Result { Ok(RequestHeaderInput::None) } }