pub async fn get_paths_definition( definition: Value, method: Method, path: &str, ) -> Result<Value, OpenApiError>