pub fn from_reader<R>(read: R) -> Result<Spec>where R: Read,
deserialize an open api spec from type which implements Read